mirror of https://github.com/langgenius/dify.git
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
|