denkproto 1.0.92__py3-none-any.whl → 1.0.93__py3-none-any.whl
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.
Potentially problematic release.
This version of denkproto might be problematic. Click here for more details.
- denkproto/__about__.py +1 -1
- denkproto/json/annotation_comparer_request.py +6 -2
- denkproto/json/ocr_prediction_request.py +6 -2
- denkproto/json/prediction_request.py +6 -2
- {denkproto-1.0.92.dist-info → denkproto-1.0.93.dist-info}/METADATA +1 -1
- {denkproto-1.0.92.dist-info → denkproto-1.0.93.dist-info}/RECORD +7 -7
- {denkproto-1.0.92.dist-info → denkproto-1.0.93.dist-info}/WHEEL +0 -0
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.93"
|
|
@@ -952,6 +952,7 @@ class Source:
|
|
|
952
952
|
|
|
953
953
|
class AnnotationComparerRequest:
|
|
954
954
|
created_by_user_id: UUID
|
|
955
|
+
hasura_url: str
|
|
955
956
|
id: UUID
|
|
956
957
|
image: Image
|
|
957
958
|
network_experiment: NetworkExperiment
|
|
@@ -961,8 +962,9 @@ class AnnotationComparerRequest:
|
|
|
961
962
|
user1_id: Optional[UUID]
|
|
962
963
|
user2_id: Optional[UUID]
|
|
963
964
|
|
|
964
|
-
def __init__(self, created_by_user_id: UUID, id: UUID, image: Image, network_experiment: NetworkExperiment, owned_by_group_id: UUID, source: Source, target: Source, user1_id: Optional[UUID], user2_id: Optional[UUID]) -> None:
|
|
965
|
+
def __init__(self, created_by_user_id: UUID, hasura_url: str, id: UUID, image: Image, network_experiment: NetworkExperiment, owned_by_group_id: UUID, source: Source, target: Source, user1_id: Optional[UUID], user2_id: Optional[UUID]) -> None:
|
|
965
966
|
self.created_by_user_id = created_by_user_id
|
|
967
|
+
self.hasura_url = hasura_url
|
|
966
968
|
self.id = id
|
|
967
969
|
self.image = image
|
|
968
970
|
self.network_experiment = network_experiment
|
|
@@ -976,6 +978,7 @@ class AnnotationComparerRequest:
|
|
|
976
978
|
def from_dict(obj: Any) -> 'AnnotationComparerRequest':
|
|
977
979
|
assert isinstance(obj, dict)
|
|
978
980
|
created_by_user_id = UUID(obj.get("created_by_user_id"))
|
|
981
|
+
hasura_url = from_str(obj.get("hasura_url"))
|
|
979
982
|
id = UUID(obj.get("id"))
|
|
980
983
|
image = Image.from_dict(obj.get("image"))
|
|
981
984
|
network_experiment = NetworkExperiment.from_dict(obj.get("network_experiment"))
|
|
@@ -984,11 +987,12 @@ class AnnotationComparerRequest:
|
|
|
984
987
|
target = Source.from_dict(obj.get("target"))
|
|
985
988
|
user1_id = from_union([from_none, lambda x: UUID(x)], obj.get("user1_id"))
|
|
986
989
|
user2_id = from_union([from_none, lambda x: UUID(x)], obj.get("user2_id"))
|
|
987
|
-
return AnnotationComparerRequest(created_by_user_id, id, image, network_experiment, owned_by_group_id, source, target, user1_id, user2_id)
|
|
990
|
+
return AnnotationComparerRequest(created_by_user_id, hasura_url, id, image, network_experiment, owned_by_group_id, source, target, user1_id, user2_id)
|
|
988
991
|
|
|
989
992
|
def to_dict(self) -> dict:
|
|
990
993
|
result: dict = {}
|
|
991
994
|
result["created_by_user_id"] = str(self.created_by_user_id)
|
|
995
|
+
result["hasura_url"] = from_str(self.hasura_url)
|
|
992
996
|
result["id"] = str(self.id)
|
|
993
997
|
result["image"] = to_class(Image, self.image)
|
|
994
998
|
result["network_experiment"] = to_class(NetworkExperiment, self.network_experiment)
|
|
@@ -458,6 +458,7 @@ class Object:
|
|
|
458
458
|
|
|
459
459
|
class OcrPredictionRequest:
|
|
460
460
|
created_by_user_id: UUID
|
|
461
|
+
hasura_url: str
|
|
461
462
|
id: UUID
|
|
462
463
|
image: Image
|
|
463
464
|
network_experiment: NetworkExperiment
|
|
@@ -465,8 +466,9 @@ class OcrPredictionRequest:
|
|
|
465
466
|
owned_by_group_id: UUID
|
|
466
467
|
prediction_priority: int
|
|
467
468
|
|
|
468
|
-
def __init__(self, created_by_user_id: UUID, id: UUID, image: Image, network_experiment: NetworkExperiment, objects: List[Object], owned_by_group_id: UUID, prediction_priority: int) -> None:
|
|
469
|
+
def __init__(self, created_by_user_id: UUID, hasura_url: str, id: UUID, image: Image, network_experiment: NetworkExperiment, objects: List[Object], owned_by_group_id: UUID, prediction_priority: int) -> None:
|
|
469
470
|
self.created_by_user_id = created_by_user_id
|
|
471
|
+
self.hasura_url = hasura_url
|
|
470
472
|
self.id = id
|
|
471
473
|
self.image = image
|
|
472
474
|
self.network_experiment = network_experiment
|
|
@@ -478,17 +480,19 @@ class OcrPredictionRequest:
|
|
|
478
480
|
def from_dict(obj: Any) -> 'OcrPredictionRequest':
|
|
479
481
|
assert isinstance(obj, dict)
|
|
480
482
|
created_by_user_id = UUID(obj.get("created_by_user_id"))
|
|
483
|
+
hasura_url = from_str(obj.get("hasura_url"))
|
|
481
484
|
id = UUID(obj.get("id"))
|
|
482
485
|
image = Image.from_dict(obj.get("image"))
|
|
483
486
|
network_experiment = NetworkExperiment.from_dict(obj.get("network_experiment"))
|
|
484
487
|
objects = from_list(Object.from_dict, obj.get("objects"))
|
|
485
488
|
owned_by_group_id = UUID(obj.get("owned_by_group_id"))
|
|
486
489
|
prediction_priority = from_int(obj.get("prediction_priority"))
|
|
487
|
-
return OcrPredictionRequest(created_by_user_id, id, image, network_experiment, objects, owned_by_group_id, prediction_priority)
|
|
490
|
+
return OcrPredictionRequest(created_by_user_id, hasura_url, id, image, network_experiment, objects, owned_by_group_id, prediction_priority)
|
|
488
491
|
|
|
489
492
|
def to_dict(self) -> dict:
|
|
490
493
|
result: dict = {}
|
|
491
494
|
result["created_by_user_id"] = str(self.created_by_user_id)
|
|
495
|
+
result["hasura_url"] = from_str(self.hasura_url)
|
|
492
496
|
result["id"] = str(self.id)
|
|
493
497
|
result["image"] = to_class(Image, self.image)
|
|
494
498
|
result["network_experiment"] = to_class(NetworkExperiment, self.network_experiment)
|
|
@@ -211,6 +211,7 @@ class NetworkExperiment:
|
|
|
211
211
|
|
|
212
212
|
class PredictionRequest:
|
|
213
213
|
created_by_user_id: UUID
|
|
214
|
+
hasura_url: str
|
|
214
215
|
id: UUID
|
|
215
216
|
image: Image
|
|
216
217
|
network_experiment: NetworkExperiment
|
|
@@ -218,8 +219,9 @@ class PredictionRequest:
|
|
|
218
219
|
prediction_priority: int
|
|
219
220
|
request_classification_interpretation: bool
|
|
220
221
|
|
|
221
|
-
def __init__(self, created_by_user_id: UUID, id: UUID, image: Image, network_experiment: NetworkExperiment, owned_by_group_id: UUID, prediction_priority: int, request_classification_interpretation: bool) -> None:
|
|
222
|
+
def __init__(self, created_by_user_id: UUID, hasura_url: str, id: UUID, image: Image, network_experiment: NetworkExperiment, owned_by_group_id: UUID, prediction_priority: int, request_classification_interpretation: bool) -> None:
|
|
222
223
|
self.created_by_user_id = created_by_user_id
|
|
224
|
+
self.hasura_url = hasura_url
|
|
223
225
|
self.id = id
|
|
224
226
|
self.image = image
|
|
225
227
|
self.network_experiment = network_experiment
|
|
@@ -231,17 +233,19 @@ class PredictionRequest:
|
|
|
231
233
|
def from_dict(obj: Any) -> 'PredictionRequest':
|
|
232
234
|
assert isinstance(obj, dict)
|
|
233
235
|
created_by_user_id = UUID(obj.get("created_by_user_id"))
|
|
236
|
+
hasura_url = from_str(obj.get("hasura_url"))
|
|
234
237
|
id = UUID(obj.get("id"))
|
|
235
238
|
image = Image.from_dict(obj.get("image"))
|
|
236
239
|
network_experiment = NetworkExperiment.from_dict(obj.get("network_experiment"))
|
|
237
240
|
owned_by_group_id = UUID(obj.get("owned_by_group_id"))
|
|
238
241
|
prediction_priority = from_int(obj.get("prediction_priority"))
|
|
239
242
|
request_classification_interpretation = from_bool(obj.get("request_classification_interpretation"))
|
|
240
|
-
return PredictionRequest(created_by_user_id, id, image, network_experiment, owned_by_group_id, prediction_priority, request_classification_interpretation)
|
|
243
|
+
return PredictionRequest(created_by_user_id, hasura_url, id, image, network_experiment, owned_by_group_id, prediction_priority, request_classification_interpretation)
|
|
241
244
|
|
|
242
245
|
def to_dict(self) -> dict:
|
|
243
246
|
result: dict = {}
|
|
244
247
|
result["created_by_user_id"] = str(self.created_by_user_id)
|
|
248
|
+
result["hasura_url"] = from_str(self.hasura_url)
|
|
245
249
|
result["id"] = str(self.id)
|
|
246
250
|
result["image"] = to_class(Image, self.image)
|
|
247
251
|
result["network_experiment"] = to_class(NetworkExperiment, self.network_experiment)
|
|
@@ -4,7 +4,7 @@ denkproto/DENKbuffer_pb2_grpc.py,sha256=-CPJPM4FOqwvwV8-f1iJlD18UD9juVIIHfdWUecu
|
|
|
4
4
|
denkproto/ImageAnalysis_ProtobufMessages_pb2.py,sha256=iEY0j9ySGUThnqTdYD4uAVr9P3GiC5R02iK53zEOXUQ,21015
|
|
5
5
|
denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi,sha256=5LFtxrmYpJHizDDNGFTkL7-NQ_TkwqCSdq7vcv3lg-c,36243
|
|
6
6
|
denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py,sha256=l3agtDjgu4jay6P9TRnHhyhJ-7UdoII27ywhw3k84oo,911
|
|
7
|
-
denkproto/__about__.py,sha256=
|
|
7
|
+
denkproto/__about__.py,sha256=BTvw8DmB4FrGsu9dg34XOAthT2XrdjaaYC_7bKzDlE4,23
|
|
8
8
|
denkproto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
denkproto/denkcache_pb2.py,sha256=u0O26m7t4kfu4R1nx1ZcTst4n6pG32pMbhl2PGYivXE,7161
|
|
10
10
|
denkproto/denkcache_pb2.pyi,sha256=8K_Ebyy4mgXrxqJenN8f8LXLvVKOiaZxhmGeYjFZVpY,6357
|
|
@@ -26,14 +26,14 @@ denkproto/validate_pb2.py,sha256=CuGAaHir9X9jniW3QsRKAESjYzoS2U6dLk_J55XmNqU,136
|
|
|
26
26
|
denkproto/validate_pb2.pyi,sha256=fWsdVOR3NJDioCKkCKfxfl4qaEb5xqXXU_WlEbdQx6E,23077
|
|
27
27
|
denkproto/validate_pb2_grpc.py,sha256=XvjuWEgJFJtH1E7HWm7SKpV10PMpOSbonKa2VPHpYy8,889
|
|
28
28
|
denkproto/json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
denkproto/json/annotation_comparer_request.py,sha256
|
|
29
|
+
denkproto/json/annotation_comparer_request.py,sha256=2vUi2IZaRLF_oqNgGTyOxw0aFaLHMPikocnvjmJ5KMs,39633
|
|
30
30
|
denkproto/json/classification_markup.py,sha256=vTu0H7Cb3gU6UUUSg1vDTRlFUorZrjMbcp_yx6UssZA,2461
|
|
31
31
|
denkproto/json/inference_graph_models_generated.py,sha256=GfsGk4bKbL8gyqOScA4x13P8sJrAmv3tEhNU36rbIDs,6313
|
|
32
32
|
denkproto/json/object_detection_markup.py,sha256=T0hcFPq8F_galjDjRC9dbcRVwCSOYtu2jt9wpEeHlQs,4904
|
|
33
33
|
denkproto/json/ocr_markup.py,sha256=KyOpth9evOekyhTJdZSnYyB9EIyoWbY33sqncb_jBgw,7069
|
|
34
|
-
denkproto/json/ocr_prediction_request.py,sha256=
|
|
35
|
-
denkproto/json/prediction_request.py,sha256=
|
|
34
|
+
denkproto/json/ocr_prediction_request.py,sha256=PXY_1hmPQcKpHHZyikMFG_S0HKiwbXtRv5oW5x1zHRM,17783
|
|
35
|
+
denkproto/json/prediction_request.py,sha256=N7KZaKr9FW8RGme86O9xb2JjNBaJDv1TW2ffCugckj0,8839
|
|
36
36
|
denkproto/json/segmentation_markup.py,sha256=EvniRksF2KaQolm6zZ6UKSiGwnqc8wR2sHB1iv05RTE,19911
|
|
37
|
-
denkproto-1.0.
|
|
38
|
-
denkproto-1.0.
|
|
39
|
-
denkproto-1.0.
|
|
37
|
+
denkproto-1.0.93.dist-info/METADATA,sha256=o__s_qTRs9Iqj-Dg0AsZLF0jHHoiAndRHNKtBdNRwSw,110
|
|
38
|
+
denkproto-1.0.93.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
39
|
+
denkproto-1.0.93.dist-info/RECORD,,
|
|
File without changes
|