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.