Minor extension of pysmartdatamodels 0.6.4.1

There is a minor new version of the package pysmartdatamodels.

Now it allows to have in the metadata of a data model the direct links to the specification in the 8 languages.

you can access thanks to the function list_datamodel_metadata and accessing the objects with the keys, spec, spec_DE, spec_ES, spec_FR, spec_IT, spec_JA, spec_KO and spec_ZH

from pysmartdatamodels import pysmartdatamodels as sdm
subject = "dataModel.Weather"
dataModel ="WeatherForecast"
metadata = sdm.list_datamodel_metadata(dataModel, subject))
print(metadata["spec_ES"]

You can install the update

pip install –upgrade pysmartdatamodels

Bookmark the permalink.

Comments are closed.