AAS HTTP Client Documentation
Loading...
Searching...
No Matches
aas_http_client.utilities.sdk_tools Namespace Reference

Functions

None add_submodel_to_aas (model.AssetAdministrationShell aas, model.Submodel submodel)
 Add a given Submodel correctly to a provided AssetAdministrationShell.
 
None remove_submodel_from_aas (model.AssetAdministrationShell aas, model.Submodel submodel)
 Remove a given Submodel correctly from a provided AssetAdministrationShell.
 
Any|None convert_to_object (dict content)
 Convert a dictionary to a BaSyx SDK framework object.
 
dict|None convert_to_dict (Any object)
 Convert a BaSyx SDK framework object.
 

Variables

 _logger
 

Function Documentation

◆ add_submodel_to_aas()

None aas_http_client.utilities.sdk_tools.add_submodel_to_aas ( model.AssetAdministrationShell  aas,
model.Submodel  submodel 
)

Add a given Submodel correctly to a provided AssetAdministrationShell.

Parameters
aasprovided AssetAdministrationShell to which the Submodel should be added
submodelgiven Submodel to add

Definition at line 21 of file sdk_tools.py.

◆ convert_to_dict()

dict | None aas_http_client.utilities.sdk_tools.convert_to_dict ( Any  object)

Convert a BaSyx SDK framework object.

to a dictionary.

Parameters
objectBaSyx SDK framework object to convert
Returns
dictionary representation of the object or None

Definition at line 58 of file sdk_tools.py.

◆ convert_to_object()

Any | None aas_http_client.utilities.sdk_tools.convert_to_object ( dict  content)

Convert a dictionary to a BaSyx SDK framework object.

Parameters
contentdictionary to convert
Returns
BaSyx SDK framework object or None

Definition at line 39 of file sdk_tools.py.

◆ remove_submodel_from_aas()

None aas_http_client.utilities.sdk_tools.remove_submodel_from_aas ( model.AssetAdministrationShell  aas,
model.Submodel  submodel 
)

Remove a given Submodel correctly from a provided AssetAdministrationShell.

Parameters
aasprovided AssetAdministrationShell from which the Submodel should be removed
submodelgiven Submodel to remove

Definition at line 30 of file sdk_tools.py.

Variable Documentation

◆ _logger

aas_http_client.utilities.sdk_tools._logger
protected

Definition at line 13 of file sdk_tools.py.