Project

General

Profile

Actions

Feature #18810

open

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

Added by Lucas Di Pentima about 2 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
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

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

Updated by Lucas Di Pentima about 2 years ago

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

Updated by Lucas Di Pentima about 2 years ago

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

Updated by Lucas Di Pentima about 2 years ago

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

Updated by Peter Amstutz about 2 years ago

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

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #6

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF