TOSCAImporter.read_data#

TOSCAImporter.read_data(source, *, context=None)[source]

Read TOSCA data from a YAML file.

Parameters:
  • source (str | Path) – The source YAML path.

  • context (IOContext | None) – Optional import/export customisation.

Returns:

The decoded TOSCA data.

Return type:

dict[str, Any]