denkproto 1.0.101__py3-none-any.whl → 1.0.103__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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.103"
|
|
@@ -68,12 +68,14 @@ def to_enum(c: Type[EnumT], x: Any) -> EnumT:
|
|
|
68
68
|
|
|
69
69
|
class Image:
|
|
70
70
|
blob_id: UUID
|
|
71
|
+
file_id: UUID
|
|
71
72
|
height: int
|
|
72
73
|
owned_by_group_id: UUID
|
|
73
74
|
width: int
|
|
74
75
|
|
|
75
|
-
def __init__(self, blob_id: UUID, height: int, owned_by_group_id: UUID, width: int) -> None:
|
|
76
|
+
def __init__(self, blob_id: UUID, file_id: UUID, height: int, owned_by_group_id: UUID, width: int) -> None:
|
|
76
77
|
self.blob_id = blob_id
|
|
78
|
+
self.file_id = file_id
|
|
77
79
|
self.height = height
|
|
78
80
|
self.owned_by_group_id = owned_by_group_id
|
|
79
81
|
self.width = width
|
|
@@ -82,14 +84,16 @@ class Image:
|
|
|
82
84
|
def from_dict(obj: Any) -> 'Image':
|
|
83
85
|
assert isinstance(obj, dict)
|
|
84
86
|
blob_id = UUID(obj.get("blob_id"))
|
|
87
|
+
file_id = UUID(obj.get("file_id"))
|
|
85
88
|
height = from_int(obj.get("height"))
|
|
86
89
|
owned_by_group_id = UUID(obj.get("owned_by_group_id"))
|
|
87
90
|
width = from_int(obj.get("width"))
|
|
88
|
-
return Image(blob_id, height, owned_by_group_id, width)
|
|
91
|
+
return Image(blob_id, file_id, height, owned_by_group_id, width)
|
|
89
92
|
|
|
90
93
|
def to_dict(self) -> dict:
|
|
91
94
|
result: dict = {}
|
|
92
95
|
result["blob_id"] = str(self.blob_id)
|
|
96
|
+
result["file_id"] = str(self.file_id)
|
|
93
97
|
result["height"] = from_int(self.height)
|
|
94
98
|
result["owned_by_group_id"] = str(self.owned_by_group_id)
|
|
95
99
|
result["width"] = from_int(self.width)
|
|
@@ -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=w-XJq-0Aa9eDYhlhEOWUuALFegd1aEGdg3KelSuxaUg,24
|
|
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
|
|
@@ -32,8 +32,8 @@ denkproto/json/inference_graph_models_generated.py,sha256=GfsGk4bKbL8gyqOScA4x13
|
|
|
32
32
|
denkproto/json/object_detection_markup.py,sha256=T0hcFPq8F_galjDjRC9dbcRVwCSOYtu2jt9wpEeHlQs,4904
|
|
33
33
|
denkproto/json/ocr_markup.py,sha256=xZs321ZqOUPK-VzWhy3gKCdqt_EyKOs-6FbaJdSvEMQ,7824
|
|
34
34
|
denkproto/json/ocr_prediction_request.py,sha256=PXY_1hmPQcKpHHZyikMFG_S0HKiwbXtRv5oW5x1zHRM,17783
|
|
35
|
-
denkproto/json/prediction_request.py,sha256=
|
|
35
|
+
denkproto/json/prediction_request.py,sha256=EGpVZf37dbUVJTbFyD7OOs0M4lv1_-30_8do_n1dhAw,19173
|
|
36
36
|
denkproto/json/segmentation_markup.py,sha256=ZU2qYuN1IkZDCjAjr0vEn6nRVdZv24EwRYlmrGEzeVg,19841
|
|
37
|
-
denkproto-1.0.
|
|
38
|
-
denkproto-1.0.
|
|
39
|
-
denkproto-1.0.
|
|
37
|
+
denkproto-1.0.103.dist-info/METADATA,sha256=Q1rACs0OitYHiGUioWZsq5ChdIIq7GLBVq9OZ7iQVlc,111
|
|
38
|
+
denkproto-1.0.103.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
39
|
+
denkproto-1.0.103.dist-info/RECORD,,
|
|
File without changes
|