Spaces:
Runtime error
Runtime error
File size: 308 Bytes
211843b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from typing import Generic, TypeVar,Dict,List,AnyStr,Any,Union
from pydantic import BaseModel
from pydantic.generics import GenericModel
M = TypeVar("M", bound=BaseModel)
class GenericSingleObject(GenericModel, Generic[M]):
object: M
class RevisionBankAuth(BaseModel):
email:str
password:str
|