Mark asset name as deprecated
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled

Amp-Thread-ID: https://ampcode.com/threads/T-019e4307-dd77-7709-b9f4-46bb79dcf58a
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Simon Pinfold 2026-05-21 09:54:05 +12:00
parent 5e0a85e77f
commit f003032860
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Asset(BaseModel):
``id`` here is the AssetReference id, not the content-addressed Asset id."""
id: str
name: str
name: str = Field(..., deprecated=True)
file_path: str | None = None
display_name: str | None = None
asset_hash: str | None = None

View File

@ -6328,6 +6328,7 @@ components:
description: Unique identifier for the asset
name:
type: string
deprecated: true
description: Name of the asset file
file_path:
type: string