Spaces:
Running
Running
File size: 285 Bytes
1b7e88c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from pydantic import BaseModel
class LTM(BaseModel):
class Config:
"""Configuration for this pydantic object."""
extra = "allow"
arbitrary_types_allowed = True
def handler_register(self, name: str, handler):
self.__setattr__(name, handler)
|