Skip to content

Inventory


Inventory Object

Pass in an Inventory dict that a device has provided and sanitize ready for use.

Raises:

Type Description
ValidationError

Malformed inventory data.

Attributes

details: Details

operating_system: OperatingSystem

software: list[Software]

Classes

Details

Attributes

name: str
serial_number: str
uuid: str

Functions

__init__(details)

OperatingSystem

Attributes

name: str
version_major: str
version: str

Functions

__init__(operating_system)

Software

Attributes

name: str
category: str
version: str

Functions

__init__(software)

Functions

__init__(inventory)

About:

This page forms part of our Project Centurion ERP.

Page Metadata
Version: ToDo: place files short git commit here
Date Created: 2024-06-19
Date Edited: 2024-07-13

Contribution:

Would You like to contribute to our Centurion ERP project? You can assist in the following ways:

 

ToDo: Add the page list of contributors