Skip to content

session

Pydantic data models for DLite.

DLiteSessionUpdate

Bases: SessionUpdate

Class for returning values from DLite strategies.

Source code in oteapi_dlite/models/session.py
11
12
13
14
15
16
class DLiteSessionUpdate(SessionUpdate):
    """Class for returning values from DLite strategies."""

    collection_id: Annotated[
        Optional[str], Field(description="A reference to a DLite collection.")
    ] = None

collection_id: Annotated[Optional[str], Field(description='A reference to a DLite collection.')] = None class-attribute instance-attribute