qbcompiler.configs.models.Uint8InputConfig Class Reference

qbcompiler.configs.models.Uint8InputConfig Class Reference#

Mobilint SDK qb Compiler: qbcompiler.configs.models.Uint8InputConfig Class Reference
Mobilint SDK qb Compiler v1.2
MCS002-EN
qbcompiler.configs.models.Uint8InputConfig Class Reference

Configuration for uint8 input handling. More...

Inheritance diagram for qbcompiler.configs.models.Uint8InputConfig:

Public Member Functions

"Uint8InputConfig" with_updates (self, **kwargs)
 Return a copy with updated fields.

Static Public Attributes

 model_config
bool apply
List inputs
float division_factor

Detailed Description

Configuration for uint8 input handling.

Defines whether inputs should be treated as uint8 and which specific inputs to apply this to.

Parameters
applybool. If true, treat specified inputs as uint8
inputsList[str]. List of input names to treat as uint8. If empty and apply is true, applies to all inputs
division_factorfloat. Division factor for uint8 to float conversion (e.g., 255.0 for [0,1], 127.5 for [0,2])

Definition at line 13 of file models.py.

Member Function Documentation

◆ with_updates()

"Uint8InputConfig" qbcompiler.configs.models.Uint8InputConfig.with_updates ( self,
** kwargs )

Return a copy with updated fields.

Definition at line 42 of file models.py.

Member Data Documentation

◆ model_config

qbcompiler.configs.models.Uint8InputConfig.model_config
static
Initial value:
= ConfigDict(
populate_by_name=True,
extra="forbid",
)

Definition at line 24 of file models.py.

◆ apply

bool qbcompiler.configs.models.Uint8InputConfig.apply
static
Initial value:
= Field(
default=False, description="If true, treat specified inputs as uint8"
)

Definition at line 29 of file models.py.

◆ inputs

List qbcompiler.configs.models.Uint8InputConfig.inputs
static
Initial value:
= Field(
default=[],
description="List of input names to treat as uint8. If empty and apply is true, applies to all inputs",
)

Definition at line 32 of file models.py.

◆ division_factor

float qbcompiler.configs.models.Uint8InputConfig.division_factor
static
Initial value:
= Field(
default=255.0,
alias="divisionFactor",
description="Division factor for uint8 to float conversion (e.g., 255.0 for [0,1], 127.5 for [0,2])",
)

Definition at line 36 of file models.py.


The documentation for this class was generated from the following file: