Backends
Submodules
ixmp4.data.backend.api module
ixmp4.data.backend.base module
- class ixmp4.data.backend.base.Backend(info: PlatformInfo)
Bases:
object
- iamc: IamcSubobject
- info: PlatformInfo
- meta: RunMetaEntryRepository
- models: ModelRepository
- optimization: OptimizationSubobject
- regions: RegionRepository
- runs: RunRepository
- scenarios: ScenarioRepository
- units: UnitRepository
- class ixmp4.data.backend.base.IamcSubobject
Bases:
object
- datapoints: DataPointRepository
- timeseries: TimeSeriesRepository[TimeSeries]
- variables: VariableRepository
ixmp4.data.backend.db module
- class ixmp4.data.backend.db.IamcSubobject
Bases:
IamcSubobject
- datapoints: DataPointRepository
- timeseries: TimeSeriesRepository
- variables: VariableRepository
- class ixmp4.data.backend.db.OptimizationSubobject
Bases:
OptimizationSubobject
- equations: EquationRepository
- indexsets: IndexSetRepository
- parameters: ParameterRepository
- scalars: ScalarRepository
- tables: TableRepository
- variables: VariableRepository
- class ixmp4.data.backend.db.PostgresTestBackend(*args: Unpack[tuple[PlatformInfo]])
Bases:
SqlAlchemyBackend
- class ixmp4.data.backend.db.SqlAlchemyBackend(info: PlatformInfo)
Bases:
Backend
- Session = sessionmaker(class_='Session', autocommit=False, future=True, bind=None, autoflush=False, expire_on_commit=True)
- auth(user: User, manager: ManagerConfig, info: ManagerPlatformInfo, overlap_ok: bool = False) Generator[AuthorizationContext, None, None]
- event_handler: SqlaEventHandler
- iamc: IamcSubobject
- info: PlatformInfo
- meta: RunMetaEntryRepository
- models: ModelRepository
- optimization: OptimizationSubobject
- regions: RegionRepository
- runs: RunRepository
- scenarios: ScenarioRepository
- units: UnitRepository
- class ixmp4.data.backend.db.SqliteTestBackend(*args: Unpack[tuple[PlatformInfo]])
Bases:
SqlAlchemyBackend