Skip to content
Snippets Groups Projects

Implement default metadata for components and adapters

Merged Martin Lange requested to merge default-metadata into main
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -265,5 +265,5 @@ Besides metadata for data exchange, FINAM provides functionality to access metad
Users can call :attr:`.Composition.metadata` to retrieve a nested `dict` of all metadata.
This encompasses general metadata like the simulation time frame, as well as metadata for individual components and adapters and the coupling links.
:class:`.Component` as well as `.Adapter` provide default implementations of :attr:`.Component.metadata` and :attr:`.Adapter.metadata`, respectively.
:class:`.Component` as well as :class:`.Adapter` provide default implementations of :attr:`.Component.metadata` and :attr:`.Adapter.metadata`, respectively.
Developers can overwrite these properties to add their own specific metadata. For examples, see the API docs for :attr:`.Component.metadata` and :attr:`.Adapter.metadata`.
Loading