models.runtime
Runtime model for Datalayer.
Provides data structures for runtime model in Datalayer.
RuntimeModel Objects
class RuntimeModel(BaseModel)
Model representing a Datalayer Runtime configuration and state.
This model encapsulates both the configuration parameters and runtime state for a Datalayer runtime, including resource allocation, time limits, service endpoints, and execution state.
Config Objects
class Config()
Pydantic configuration for RuntimeModel.
credits_limit
@property
def credits_limit() -> Optional[float]
Calculate the credits limit based on burning rate and time reservation.
Returns
Optional[float] The credits limit, or None if burning_rate is not set.