mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-02 20:37:35 +08:00
Mark asset name as deprecated
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:
parent
5e0a85e77f
commit
f003032860
@ -9,7 +9,7 @@ class Asset(BaseModel):
|
|||||||
``id`` here is the AssetReference id, not the content-addressed Asset id."""
|
``id`` here is the AssetReference id, not the content-addressed Asset id."""
|
||||||
|
|
||||||
id: str
|
id: str
|
||||||
name: str
|
name: str = Field(..., deprecated=True)
|
||||||
file_path: str | None = None
|
file_path: str | None = None
|
||||||
display_name: str | None = None
|
display_name: str | None = None
|
||||||
asset_hash: str | None = None
|
asset_hash: str | None = None
|
||||||
|
|||||||
@ -6328,6 +6328,7 @@ components:
|
|||||||
description: Unique identifier for the asset
|
description: Unique identifier for the asset
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
deprecated: true
|
||||||
description: Name of the asset file
|
description: Name of the asset file
|
||||||
file_path:
|
file_path:
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user