mirror of
https://github.com/langgenius/dify.git
synced 2025-07-27 03:20:03 +00:00
17 lines
322 B
Python
17 lines
322 B
Python
![]() |
from typing import Optional
|
||
|
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class IconInfo(BaseModel):
|
||
|
icon: str
|
||
|
icon_background: Optional[str] = None
|
||
|
icon_type: Optional[str] = None
|
||
|
icon_url: Optional[str] = None
|
||
|
|
||
|
|
||
|
class PipelineTemplateInfoEntity(BaseModel):
|
||
|
name: str
|
||
|
description: str
|
||
|
icon_info: IconInfo
|