mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-31 11:27:24 +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: str
|
||||
name: str
|
||||
name: str = Field(..., deprecated=True)
|
||||
file_path: str | None = None
|
||||
display_name: str | None = None
|
||||
asset_hash: str | None = None
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user