fix: add source to plugin entity

This commit is contained in:
Yeuoly 2024-10-10 16:47:25 +08:00
parent dd0462c1dc
commit 699d41deec
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

View File

@ -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):