mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-07 22:31:49 +08: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
|