Actions
Feature #18810
openPySDK API Client wrapper methods that automatically translate properties using a vocabulary
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.
Updated by Lucas Di Pentima almost 3 years ago
- Related to Task #18776: Review 18574-pysdk-vocabulary-support added
Updated by Lucas Di Pentima almost 3 years ago
- Related to deleted (Task #18776: Review 18574-pysdk-vocabulary-support)
Updated by Lucas Di Pentima almost 3 years ago
- Related to Feature #18574: Helper methods for working with vocabularies added
Updated by Peter Amstutz almost 3 years ago
- Target version deleted (
2022-03-16 sprint) - Release deleted (
46)
Actions