Units

class ixmp4.core.unit.Unit(_model: BaseModel | None = None, **kwargs: Backend | None)

Bases: BaseModelFacade

DeletionPrevented

alias of UnitDeletionPrevented

NotFound

alias of UnitNotFound

NotUnique

alias of UnitNotUnique

property created_at: datetime | None
property created_by: str | None
delete() None
property docs: str | None
property id: int
property name: str
class ixmp4.core.unit.UnitRepository(_backend: Backend | None = None)

Bases: BaseFacade

create(name: str) Unit
delete(x: Unit | int | str) None
delete_docs(name: str) None
get(name: str) Unit
get_docs(name: str) str | None
list(name: str | None = None) list[Unit]
set_docs(name: str, description: str | None) str | None
tabulate(name: str | None = None) DataFrame