Add type hints to models.py
1 unresolved thread
1 unresolved thread
Compare changes
+ 468
− 174
@@ -45,10 +45,10 @@ from os import listdir
@@ -66,17 +66,19 @@ from caosdb.exceptions import (AmbiguousEntityError, AuthorizationError,
@@ -96,8 +98,9 @@ class Entity:
@@ -107,7 +110,7 @@ class Entity:
@@ -241,6 +244,10 @@ class Entity:
@@ -248,14 +255,14 @@ class Entity:
@@ -517,8 +524,12 @@ class Entity:
@@ -536,35 +547,41 @@ class Entity:
@@ -666,17 +683,29 @@ class Entity:
@@ -688,26 +717,33 @@ class Entity:
@@ -721,7 +757,6 @@ class Entity:
@@ -746,7 +781,7 @@ class Entity:
@@ -755,30 +790,29 @@ class Entity:
@@ -790,23 +824,30 @@ out: bool
@@ -832,14 +873,13 @@ out: List[Entity]
@@ -860,24 +900,22 @@ out: List[Entity]
@@ -901,41 +939,49 @@ out: List[Entity]
@@ -954,15 +1000,24 @@ out: List[Entity]
@@ -1010,13 +1065,12 @@ out: List[Entity]
@@ -1034,16 +1088,16 @@ out: List[Entity]
@@ -1054,18 +1108,20 @@ out: List[Entity]
@@ -1075,10 +1131,13 @@ out: List[Entity]
@@ -1091,12 +1150,21 @@ out: List[Entity]
@@ -1111,35 +1179,53 @@ out: List[Entity]
@@ -1250,13 +1336,26 @@ out: List[Entity]
@@ -1270,7 +1369,8 @@ out: List[Entity]
@@ -1324,11 +1424,24 @@ out: List[Entity]
@@ -1353,11 +1466,12 @@ out: List[Entity]
@@ -1370,14 +1484,26 @@ out: List[Entity]
@@ -1392,8 +1518,9 @@ out: List[Entity]
@@ -1409,6 +1536,7 @@ out: List[Entity]
@@ -1422,6 +1550,16 @@ out: List[Entity]
@@ -1429,8 +1567,9 @@ out: List[Entity]
@@ -1459,9 +1598,29 @@ Second:
@@ -1590,7 +1749,9 @@ def _log_response(body):
@@ -1616,8 +1777,36 @@ class QueryTemplate():
@@ -1625,9 +1814,45 @@ class QueryTemplate():
@@ -1635,9 +1860,60 @@ class QueryTemplate():
@@ -1645,14 +1921,26 @@ class QueryTemplate():
@@ -1682,10 +1970,11 @@ class QueryTemplate():
@@ -1707,16 +1996,16 @@ class QueryTemplate():
@@ -1728,10 +2017,10 @@ class QueryTemplate():
@@ -1751,14 +2040,17 @@ class Parent(Entity):
@@ -1777,7 +2069,7 @@ class Property(Entity):
@@ -1785,13 +2077,12 @@ class Property(Entity):
@@ -1807,10 +2098,13 @@ class Property(Entity):