dipex 7.2.3__tar.gz → 7.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dipex-7.2.3 → dipex-7.3.0}/PKG-INFO +1 -1
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/gql_lora_cache_async.py +14 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/sql_export.py +8 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/sql_table_defs.py +3 -0
- {dipex-7.2.3 → dipex-7.3.0}/pyproject.toml +1 -1
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/__init__.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/config.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/lc_for_jobs_db.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/lora_cache.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/main.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/sql_url.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/sql_export/trigger.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/exporters/utils/priority_by_class.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/__init__.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/__init__.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_common.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_exceptions.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_jinja_filters.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_life_cycle.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_logger.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_reader.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_sync.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_template_engine.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_templates.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/ad_writer.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/mo_to_ad_sync.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/payloads.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/read_ad_conf_settings.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/sync_mo_uuid_to_ad.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/test_connectivity.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/__init__.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/mocks.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/name_simulator.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_common.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_jinja_filters.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_life_cycle.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_logger.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_reader.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_sync.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_ad_writer.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_dot_mapping.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_first_included.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_location_element.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_mo_data_source.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_mo_to_ad_sync.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_morestsource.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_read_ad_conf_settings.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_recursive_dict_update.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_sync_mo_uuid_to_ad.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_usernames.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/tests/test_utils.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/user_names.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/username_rules/method_2.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/ad_integration/utils.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/dawa_helper.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/clear_and_import_opus.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_check_dar_adresses.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_diff_import.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_exceptions.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_file_reader.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_helpers.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/opus_reimport_one.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/org_tree_print/main.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/payloads.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/tests/test_opus_diff_import.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/tests/test_opus_file_reader.py +0 -0
- {dipex-7.2.3 → dipex-7.3.0}/integrations/opus/tests/test_opus_helpers.py +0 -0
|
@@ -1248,6 +1248,10 @@ class GQLLoraCache:
|
|
|
1248
1248
|
manager_type_uuid
|
|
1249
1249
|
manager_level_uuid
|
|
1250
1250
|
responsibility_uuids
|
|
1251
|
+
primary_response {
|
|
1252
|
+
uuid
|
|
1253
|
+
}
|
|
1254
|
+
is_primary
|
|
1251
1255
|
validity {
|
|
1252
1256
|
from
|
|
1253
1257
|
to
|
|
@@ -1288,6 +1292,10 @@ class GQLLoraCache:
|
|
|
1288
1292
|
manager_type_uuid
|
|
1289
1293
|
manager_level_uuid
|
|
1290
1294
|
responsibility_uuids
|
|
1295
|
+
primary_response {
|
|
1296
|
+
uuid
|
|
1297
|
+
}
|
|
1298
|
+
is_primary
|
|
1291
1299
|
validity {
|
|
1292
1300
|
from
|
|
1293
1301
|
to
|
|
@@ -1323,6 +1331,12 @@ class GQLLoraCache:
|
|
|
1323
1331
|
if not self.full_history:
|
|
1324
1332
|
obj = align_current(obj)
|
|
1325
1333
|
|
|
1334
|
+
for manager in obj["obj"]:
|
|
1335
|
+
if manager is None:
|
|
1336
|
+
continue
|
|
1337
|
+
primary = manager.pop("primary_response")
|
|
1338
|
+
manager["manager_primary"] = primary["uuid"] if primary else None
|
|
1339
|
+
|
|
1326
1340
|
obj = convert_dict(obj, replace_dict=dictionary)
|
|
1327
1341
|
insert_obj(obj, res)
|
|
1328
1342
|
return res
|
|
@@ -673,6 +673,11 @@ class SqlExport:
|
|
|
673
673
|
def _generate_sql_managers(
|
|
674
674
|
self, uuid, manager_info, model: Type[_T_Leder]
|
|
675
675
|
) -> _T_Leder:
|
|
676
|
+
primary_uuid = manager_info.get("manager_primary")
|
|
677
|
+
primary_title = (
|
|
678
|
+
self.lc.classes[primary_uuid]["title"] if primary_uuid is not None else ""
|
|
679
|
+
)
|
|
680
|
+
|
|
676
681
|
return model(
|
|
677
682
|
uuid=str(uuid),
|
|
678
683
|
bruger_uuid=manager_info["user"],
|
|
@@ -681,6 +686,9 @@ class SqlExport:
|
|
|
681
686
|
ledertype_uuid=manager_info["manager_type"],
|
|
682
687
|
niveautype_titel=self.lc.classes[manager_info["manager_level"]]["title"],
|
|
683
688
|
ledertype_titel=self.lc.classes[manager_info["manager_type"]]["title"],
|
|
689
|
+
primærtype_uuid=primary_uuid,
|
|
690
|
+
primærtype_titel=primary_title,
|
|
691
|
+
primær_boolean=manager_info["is_primary"],
|
|
684
692
|
startdato=manager_info["from_date"],
|
|
685
693
|
slutdato=manager_info["to_date"],
|
|
686
694
|
)
|
|
@@ -274,6 +274,9 @@ class BaseLeder(Compare):
|
|
|
274
274
|
ledertype_titel = Column(String(250), nullable=False)
|
|
275
275
|
niveautype_uuid = Column(String(36)) # , ForeignKey('klasser.uuid'))
|
|
276
276
|
niveautype_titel = Column(String(250), nullable=False)
|
|
277
|
+
primærtype_uuid = Column(String(36)) # , ForeignKey("klasser.uuid"))
|
|
278
|
+
primærtype_titel = Column(String(250))
|
|
279
|
+
primær_boolean = Column(Boolean, nullable=False)
|
|
277
280
|
startdato = Column(String(10))
|
|
278
281
|
slutdato = Column(String(10))
|
|
279
282
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|