Releases: davidvlaminck/OTLMOW
Release 0.5a3: Mostly refactoring
This release includes:
- Refactoring of OTLFacility: it now has 5 main methods that reflect the main functionalities: creating models and converted files to objects and visa versa
- Creating a model now creates the classes in directories per namespace to avoid collision of classes that have the same name in different namespaces
- Implementation of KlAdmsStatus: implements deprecation and removal of enumeration values
- Improved version of convert_to_correct_type(): when assigning a value to an attribute, this function tries to convert incorrect types to the datatype of the attribute. It raises errors or logs warnings and allows disabling the logging part.
- CSV exporter now also allows creation of one file per assettype instead of all the data in one file
Release 0.4a1: Csv Exporter and Dotnotation
This release contains a major overhaul of how Dotnotation is handled in the library. This made it possible to easily implement a csv importer and exporter, which are also included in this release. To support more formats the shortcut for the waarde attributes is correctly handled and a section in the settings file has been added to allow parameterization of file format specifics.
All known bugs are fixed and all unit tests pass. In one or two releases we'll move up to beta status!
Release 0.3a1: EMInfraImporter and Relationship fixes
There are two main features added in this release:
The EMInfraImporter module contains more functionality and supports both authentication flows: certificate and JWT. Both assume you actually have read access to the EM-Infra API. This is now capable of loading assets directly from the EM-Infra API, by providing a list of uuid's.
Similar to this approach it is possible to use AgentCollection to load Agents from the API, with an in-memory cache. You can access the agents by name
Although the capability to verify the validity of relations was already added a long time ago, there was a bug preventing this from being used. This bug is now fixed. Additionally the class RelatieCreator has been added to assist with creating relations between objects. It uses the validator and raises an error if the relation is not valid according to the model. If valid, it creates a valid relationship object that can be imported in Davie. Support has been added to facilitate deprecation of relations.
Release 0.2a1: OEF - GA - WKT - jsonLD datasource - dependencies
OEF (OTL Extended Framework) integration. This allows for legacy asset integration
GA: Geometry Artefact has now been implemented. Based on this artefact, geometry is now validated on type
WKT: Shapely was used to check if the provided WKT string in geometry was valid. This dependency is now replaced with a separate validation class
jsonLD datasource: It is now possible to integrate a SQLite that holds jsonld objects and read data from the database to instantiate objects.
dependencies: dependencies on other libraries is now automatically handled by pip when installing OTLMOW
First Alpha release of OTLMOW
This is first alpha release of the OTLMOW package.
It has unfinished features and bugs but most of it works as intended.
Does not work:
relatie validator