ayaka.depend.depend
1from typing import TYPE_CHECKING, Dict 2from pydantic import BaseModel 3 4if TYPE_CHECKING: 5 from ..ayaka import AyakaApp 6 7 8class AyakaDepend(BaseModel): 9 @classmethod 10 async def _create_by_app(cls, app: "AyakaApp"): 11 raise NotImplementedError 12 13 @classmethod 14 def props(cls) -> Dict[str, dict]: 15 return cls.schema()["properties"]
class
AyakaDepend(pydantic.main.BaseModel):
9class AyakaDepend(BaseModel): 10 @classmethod 11 async def _create_by_app(cls, app: "AyakaApp"): 12 raise NotImplementedError 13 14 @classmethod 15 def props(cls) -> Dict[str, dict]: 16 return cls.schema()["properties"]
Inherited Members
- pydantic.main.BaseModel
- BaseModel
- dict
- json
- parse_obj
- parse_raw
- parse_file
- from_orm
- construct
- copy
- schema
- schema_json
- validate
- update_forward_refs