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: Details

operating_system

operating_system: OperatingSystem

software

software: list[Software]

Classes

Details

Attributes

name
name: str
serial_number
serial_number: str
uuid
uuid: str

Functions

__init__
__init__(details: dict)

OperatingSystem

Attributes

name
name: str
version
version: str
version_major
version_major: str

Functions

__init__
__init__(operating_system: dict)

Software

Attributes

category
category: str
name
name: str
version
version: str

Functions

__init__
__init__(software: dict)

Functions

__init__

__init__(inventory: dict)

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