DeviceVersion¶
- class pyniryo_nate.models.device.DeviceVersion(api_version: str, api_commit: str)[source]¶
Bases:
objectIdentity of the API binary, stamped in at build time. This is the build of one service inside the release, not the release: see
DeviceIdentity.softwarefor that.- Parameters:
api_version (str) – Git tag the binary was built from, without its leading
v,devwhen it carried none.api_commit (str) – Commit the binary was built from,
unknownwhen it carried none.
Attributes
Methods
- api_version: str¶
- api_commit: str¶
- classmethod from_transport_model(model: DeviceVersion) DeviceVersion[source]¶
- Parameters:
model (DeviceVersion)
- Return type: