Update Tags
models.update_tags(strmodel_id, ModelUpdateTagsParams**kwargs) -> ModelUpdateTagsResponse
PUT/models/{modelId}/tags
Add/delete tags for the given modelId
ParametersExpand Collapse
project_id: Optional[str]
The projectId used for ownership resource management. Either to assert ownership or to set the owner of the resource(s)
Update Tags
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
response = client.models.update_tags(
model_id="modelId",
)
print(response.added){
"added": [
"string"
],
"deleted": [
"string"
]
}Returns Examples
{
"added": [
"string"
],
"deleted": [
"string"
]
}