info
info
This part defines the structure how a running QSL worker exposes its capabilities.
EngineInfo
dataclass
Source code in src/qgis_server_light/interface/worker/info.py
33 34 35 36 37 38 | |
id: str = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
qgis_info: QgisInfo = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
started: float = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
status: Status = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
__init__(id: str, qgis_info: QgisInfo, status: Status, started: float) -> None
QgisInfo
dataclass
Information container to ship minimal knowledge of the underlying QGIS.
Attributes:
-
version(int) –The integer representation of the QGIS version e.g. 34400
-
version_name(str) –The string representation which also includes the codename e.g. "QGIS Version 4.0.0-Norrköping"
Source code in src/qgis_server_light/interface/worker/info.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |
path: str = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
version: int = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
version_name: str = field(metadata={'type': 'Element'})
class-attribute
instance-attribute
__init__(version: int, version_name: str, path: str) -> None
Status
Bases: str, Enum
Source code in src/qgis_server_light/interface/worker/info.py
8 9 10 11 12 | |