pyoaev.mixins
Module Contents
- class pyoaev.mixins.GetMixin(openaev: pyoaev.client.OpenAEV, parent: RESTObject | None = None)
Bases:
HeadMixin,_RestManagerBaseBase class for CRUD operations on objects.
Derived class must define
_pathand_obj_cls._path: Base URL path on which requests will be sent (e.g. ‘/projects’)_obj_cls: The class of objects that will be created- _computed_path: str | None
- _from_parent_attrs: Dict[str, Any]
- _obj_cls: Type[pyoaev.base.RESTObject] | None
- _parent: pyoaev.base.RESTObject | None
- _parent_attrs: Dict[str, Any]
- _path: str | None
- openaev: pyoaev.OpenAEV
- get(id: str | int, **kwargs: Any) pyoaev.base.RESTObject
- class pyoaev.mixins.GetWithoutIdMixin(openaev: pyoaev.client.OpenAEV, parent: RESTObject | None = None)
Bases:
HeadMixin,_RestManagerBaseBase class for CRUD operations on objects.
Derived class must define
_pathand_obj_cls._path: Base URL path on which requests will be sent (e.g. ‘/projects’)_obj_cls: The class of objects that will be created- _computed_path: str | None
- _from_parent_attrs: Dict[str, Any]
- _obj_cls: Type[pyoaev.base.RESTObject] | None
- _parent: pyoaev.base.RESTObject | None
- _parent_attrs: Dict[str, Any]
- _path: str | None
- openaev: pyoaev.OpenAEV
- get(**kwargs: Any) pyoaev.base.RESTObject