diff --git a/drc_cmis/browser/client.py b/drc_cmis/browser/client.py index 81c377c..82b3e74 100644 --- a/drc_cmis/browser/client.py +++ b/drc_cmis/browser/client.py @@ -304,9 +304,9 @@ def create_content_object( if "cmis:objectTypeId" in properties.keys(): json_data["propertyValue[2]"] = properties.pop("cmis:objectTypeId") else: - json_data[ - "propertyValue[2]" - ] = f"{self.get_object_type_id_prefix(object_type)}drc:{object_type}" + json_data["propertyValue[2]"] = ( + f"{self.get_object_type_id_prefix(object_type)}drc:{object_type}" + ) prop_count = 3 for prop_key, prop_value in properties.items(): diff --git a/drc_cmis/notifications.py b/drc_cmis/notifications.py index f66072c..986f3f4 100644 --- a/drc_cmis/notifications.py +++ b/drc_cmis/notifications.py @@ -1,6 +1,7 @@ """ Listen to the notifications that are send by the NRC """ + from vng_api_common.notifications.handlers import RoutingHandler, default from drc_cmis.client_builder import get_cmis_client, get_zds_client