pydxdiag.schema.sz package

pydxdiag.schema.sz package#

Submodules#

pydxdiag.schema.sz.szBytesStreamHandler module#

class pydxdiag.schema.sz.szBytesStreamHandler.szBytesStreamHandler(*, Name: str, HandlerID: str, SupportedFormat: str, IsPreferred: bool)#

Bases: BaseModel

Class to represent a szBytesStreamHandler.

Params Name:

Name of the szBytesStreamHandler

Params HandlerID:

Handler ID

Params SupportedFormat:

Supported formats

Params IsPreferred:

Is preferred

HandlerID: str#
IsPreferred: bool#
Name: str#
SupportedFormat: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'HandlerID': FieldInfo(annotation=str, required=True), 'IsPreferred': FieldInfo(annotation=bool, required=True), 'Name': FieldInfo(annotation=str, required=True), 'SupportedFormat': FieldInfo(annotation=str, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.sz.szEnableHarewareMFT module#

class pydxdiag.schema.sz.szEnableHarewareMFT.szEnableHardwareMFT(*, EnableEncoders: bool, EnableDecoders: bool)#

Bases: BaseModel

Class to represent HardwareMFTs compatibility on device.

Params EnableEncoders:

Enable Encoders

Params EnableDecoders:

Enable Decoders

EnableDecoders: bool#
EnableEncoders: bool#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'EnableDecoders': FieldInfo(annotation=bool, required=True), 'EnableEncoders': FieldInfo(annotation=bool, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.sz.szMFFileVersion module#

class pydxdiag.schema.sz.szMFFileVersion.szMFFileVersion(*, Name: str, Version: str)#

Bases: BaseModel

Class to represent a file version of a szm file.

Params Name:

Name of the file

Params Version:

Version of the file

Name: str#
Version: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Name': FieldInfo(annotation=str, required=True), 'Version': FieldInfo(annotation=str, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.sz.szMFT module#

class pydxdiag.schema.sz.szMFT.szMFT(*, Name: str, EngineID: str, Flag1: int, Flag2: int, EngineFile: str, EngineFileVersion: str, EngineType: str)#

Bases: BaseModel

Class to represent a szMFT Engine.

Params Name:

Name of the szMFT Engine

Params EngineID:

Engine ID

Params Flag1:

Flags of the Engine

Params Flag2:

Flags of the Engine

Params EngineFile:

Engine file name

Params EngineFileVersion:

Engine file version

Params EngineType:

Engine type

EngineFile: str#
EngineFileVersion: str#
EngineID: str#
EngineType: str#
Flag1: int#
Flag2: int#
Name: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'EngineFile': FieldInfo(annotation=str, required=True), 'EngineFileVersion': FieldInfo(annotation=str, required=True), 'EngineID': FieldInfo(annotation=str, required=True), 'EngineType': FieldInfo(annotation=str, required=True), 'Flag1': FieldInfo(annotation=int, required=True), 'Flag2': FieldInfo(annotation=int, required=True), 'Name': FieldInfo(annotation=str, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.sz.szPreferredMFT module#

class pydxdiag.schema.sz.szPreferredMFT.szPreferredMFT(*, Name: str, EngineID: str, EngineType: str)#

Bases: BaseModel

Class to represent a preferred MFT of a sz file.

Params Name:

Name of the preferred MFT

Params EngineID:

Engine ID of the preferred MFT

Params EngineType:

Engine type of the preferred MFT

EngineID: str#
EngineType: str#
Name: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'EngineID': FieldInfo(annotation=str, required=True), 'EngineType': FieldInfo(annotation=str, required=True), 'Name': FieldInfo(annotation=str, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.sz.szSchemeHandlers module#

class pydxdiag.schema.sz.szSchemeHandlers.szSchemeHandlers(*, Name: str, HandlerID: str, SupportedFormat: str, IsPreferred: bool)#

Bases: BaseModel

Class to represent a scheme handler of a sz file.

Params Name:

Name of the scheme handler

Parmas HandlerID:

Handler ID of the scheme handler

Params SupportedFormat:

Supported format of the scheme handler

Params IsPreferred:

Is the scheme handler preferred

HandlerID: str#
IsPreferred: bool#
Name: str#
SupportedFormat: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'HandlerID': FieldInfo(annotation=str, required=True), 'IsPreferred': FieldInfo(annotation=bool, required=True), 'Name': FieldInfo(annotation=str, required=True), 'SupportedFormat': FieldInfo(annotation=str, required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

Module contents#