Source code for across.tools.core.schemas.base
from pydantic import BaseModel, ConfigDict
[docs]
class BaseSchema(BaseModel):
"""
Base class for schemas.
This class provides a base implementation for schemas and defines the `from_attributes` method.
Subclasses can inherit from this class and override the `from_attributes` method to define their
own schema logic.
"""