Skip to content

Commit 4a31166

Browse files
feat(metadata): add object metadata viewing, discovery, and validation (#9124)
1 parent cc9f6a2 commit 4a31166

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 116
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-6cf4d9a6afac92d72787088b3aefa941f5240ee522d9e98e1160eea2e29f87f4.yml
3-
openapi_spec_hash: e07fc8349cf507b083830b4e2b0caca0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-ed882d001bcf991e0081d3bde40bdad5e0083cef74f181964d5f9f76b6ceb3c5.yml
3+
openapi_spec_hash: 78673375a4e58f7b4cea847ce2686b0e
44
config_hash: 436c8d4e665915db22b5d98fe58382c1

src/runloop_api_client/types/object_view.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
3+
from typing import Dict, Optional
44
from typing_extensions import Literal
55

66
from .._models import BaseModel
@@ -29,6 +29,9 @@ class ObjectView(BaseModel):
2929
delete_after_time_ms: Optional[int] = None
3030
"""The time after which the Object will be deleted in milliseconds since epoch."""
3131

32+
metadata: Optional[Dict[str, str]] = None
33+
"""User defined metadata to attach to the Object for organization."""
34+
3235
size_bytes: Optional[int] = None
3336
"""The size of the Object content in bytes (null until uploaded)."""
3437

0 commit comments

Comments
 (0)