Skip to main content

set_client_metadata_schema_from_dict

@deprecated("0.1.132")
def set_client_metadata_schema_from_dict(
        api_client: ApiClient, json_dict: Dict[str,
                                               orm.ClientMetadataSchemaTypes])
Set the client metadata schema from a dictionary. Arguments:
  • api_client ApiClient - The API client to use for the request.
  • json_dict Dict[str, orm.ClientMetadataSchemaTypes] - A dictionary containing the client metadata schema types.
Raises:
  • NotImplementedError - If an unexpected data type is encountered in the schema.

get_client_metadata_schema

@deprecated("0.1.132")
def get_client_metadata_schema(
    api_client: ApiClient
) -> Optional[Dict[str, orm.ClientMetadataSchemaTypes]]
Retrieve the client metadata schema. Arguments:
  • api_client ApiClient - The API client to use for the request.
Returns: Optional[Dict[str, orm.ClientMetadataSchemaTypes]]: A dictionary containing the client metadata schema types if available, otherwise None.