Closed fabrizio-turchi closed 4 months ago
In the ProvenanceRecord class definition I defined the uco_core_objects parameter as follows
uco_core_objects: Union[None, Dict, List[Dict]] = None
instead of
uco_core_objects: Union[None, ObservableObject, List[ObservableObject]] = None
perhaps it can be defined considering that it will contain ObservableObjects?
You were right to check on this - we had decided to not use plain Dict
s in PR #46.
However, the ontology requires these be UcoObject
s, not the more-specific ObservableObject
s. I've pushed a patch implementing this.
In the ProvenanceRecord class definition I defined the uco_core_objects parameter as follows
uco_core_objects: Union[None, Dict, List[Dict]] = None
instead of
uco_core_objects: Union[None, ObservableObject, List[ObservableObject]] = None
perhaps it can be defined considering that it will contain ObservableObjects?