Project

General

Profile

Actions

Feature #18810

open

PySDK API Client wrapper methods that automatically translate properties using a vocabulary

Added by Lucas Di Pentima almost 3 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release:
Release relationship:
Auto

Description

This story is a follow-up to #18574.

It may be helpful to have a way to avoid the PySDK developer explicitly translating properties from identifiers to human-readable labels and vice versa.
It would probably be necessary to make this feature disabled by default (to be backward compatible) and, when enabled, provide a way to override it on a call-by-call basis.

For example, the following call:

api.collections().get(uuid=xxxxxx).execute()
{
uuid: xxxxxx,
...
properties: { 'Creature': 'Human', ... }
}

... would return an object whose properties map contains human-readable labels.
For the update/create cases, the calls would allow human-readable labels to get translated to their identifiers just before sending them to the API server.


Related issues 1 (0 open1 closed)

Related to Arvados - Feature #18574: Helper methods for working with vocabulariesResolvedLucas Di Pentima03/01/2022

Actions
Actions #1

Updated by Lucas Di Pentima almost 3 years ago

  • Related to Task #18776: Review 18574-pysdk-vocabulary-support added
Actions #2

Updated by Lucas Di Pentima almost 3 years ago

  • Related to deleted (Task #18776: Review 18574-pysdk-vocabulary-support)
Actions #3

Updated by Lucas Di Pentima almost 3 years ago

  • Related to Feature #18574: Helper methods for working with vocabularies added
Actions #4

Updated by Peter Amstutz almost 3 years ago

  • Target version deleted (2022-03-16 sprint)
  • Release deleted (46)
Actions #5

Updated by Lucas Di Pentima almost 2 years ago

  • Release set to 60
Actions

Also available in: Atom PDF