@@ -507,9 +507,10 @@ def write_aas_objects(self,
507507 A thin wrapper around :meth:`write_all_aas_objects` to ensure downwards compatibility
508508
509509 This method takes the AAS's :class:`~basyx.aas.model.base.Identifier` (as ``aas_id``) to retrieve it
510- from the given object_store. If the list of written identifiables includes :class:`~basyx.aas.model.submodel.Submodel`
511- identifiables, Supplementary files which are referenced by :class:`~basyx.aas.model.submodel.File` identifiables within
512- those Submodels, are also added to the AASX package.
510+ from the given object_store. If the list of written identifiables includes
511+ :class:`~basyx.aas.model.submodel.Submodel` identifiables, Supplementary files which are referenced by
512+ :class:`~basyx.aas.model.submodel.File` identifiables within those Submodels, are also added to the AASX
513+ package.
513514
514515 .. attention::
515516
@@ -519,10 +520,11 @@ def write_aas_objects(self,
519520 :param part_name: Name of the Part within the AASX package to write the files to. Must be a valid ECMA376-2
520521 part name and unique within the package. The extension of the part should match the data format (i.e.
521522 '.json' if ``write_json`` else '.xml').
522- :param object_ids: A list of :class:`Identifiers <basyx.aas.model.base.Identifier>` of the identifiables to be written
523- to the AASX package. Only these :class:`~basyx.aas.model.base.Identifiable` identifiables (and included
524- :class:`~basyx.aas.model.base.Referable` identifiables) are written to the package.
525- :param object_store: The identifiables store to retrieve the :class:`~basyx.aas.model.base.Identifiable` identifiables from
523+ :param object_ids: A list of :class:`Identifiers <basyx.aas.model.base.Identifier>` of the identifiables to be
524+ written to the AASX package. Only these :class:`~basyx.aas.model.base.Identifiable` identifiables
525+ (and included :class:`~basyx.aas.model.base.Referable` identifiables) are written to the package.
526+ :param object_store: The identifiables store to retrieve the :class:`~basyx.aas.model.base.Identifiable`
527+ identifiables from
526528 :param file_store: The
527529 :class:`SupplementaryFileContainer <basyx.aas.adapter.aasx.AbstractSupplementaryFileContainer>`
528530 to retrieve supplementary files from (if there are any :class:`~basyx.aas.model.submodel.File`
@@ -550,7 +552,9 @@ def write_aas_objects(self,
550552 raise KeyError (f"Could not find identifiable { identifier !r} in IdentifiableStore" )
551553 identifiables .add (the_identifiable )
552554
553- self .write_all_aas_objects (part_name , identifiables , file_store , write_json , split_part , additional_relationships )
555+ self .write_all_aas_objects (
556+ part_name , identifiables , file_store , write_json , split_part , additional_relationships
557+ )
554558
555559 # TODO remove `split_part` parameter in future version.
556560 # Not required anymore since changes from DotAAS version 2.0.1 to 3.0RC01
0 commit comments