mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: add source to plugin entity
This commit is contained in:
parent
dd0462c1dc
commit
699d41deec
|
@ -1,6 +1,7 @@
|
|||
import datetime
|
||||
from collections.abc import Mapping
|
||||
from enum import Enum
|
||||
from typing import Optional
|
||||
from typing import Any, Optional
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
@ -83,6 +84,8 @@ class PluginEntity(BasePluginEntity):
|
|||
endpoints_active: int
|
||||
runtime_type: str
|
||||
version: str
|
||||
source: PluginInstallationSource
|
||||
meta: Mapping[str, Any]
|
||||
|
||||
|
||||
class GithubPackage(BaseModel):
|
||||
|
|
Loading…
Reference in New Issue
Block a user