Add and fix more type hints
Merged
requested to merge f-192-add-type-hints-for-smaller-modules-in-common-and-connection into dev
Compare changes
- Joscha Schmiedt authored
+ 38
− 23
@@ -25,11 +25,11 @@
@@ -47,12 +47,14 @@ class EntityMergeConflictError(LinkAheadException):
@@ -92,19 +94,19 @@ def new_record(record_type, name=None, description=None,
@@ -127,11 +129,11 @@ def get_type_of_entity_with(id_):
@@ -175,7 +177,10 @@ def getCommitIn(folder):
@@ -328,7 +333,7 @@ def compare_entities(old_entity: Entity, new_entity: Entity, compare_referenced_
@@ -357,8 +362,12 @@ def empty_diff(old_entity: Entity, new_entity: Entity, compare_referenced_record
@@ -441,8 +450,12 @@ def merge_entities(entity_a: Entity, entity_b: Entity, merge_references_with_emp
@@ -465,11 +478,13 @@ def merge_entities(entity_a: Entity, entity_b: Entity, merge_references_with_emp