denkproto 1.0.26__py3-none-any.whl → 1.0.27__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.26"
1
+ __version__ = "1.0.27"
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x65nkcache.proto\x12\tdenkcache\"@\n\x13ObjectExistsRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"&\n\x14ObjectExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"f\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\'\n\x06source\x18\x03 \x01(\x0e\x32\x17.denkcache.ObjectSource\"#\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\"O\n\x12\x43\x61\x63heObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x0c\"\x15\n\x13\x43\x61\x63heObjectResponse\"C\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"9\n\x17GetCachedObjectResponse\x12\x13\n\x06object\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_object\"C\n\x16HasObjectCachedRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\")\n\x17HasObjectCachedResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"\x11\n\x0fPingPongRequest\"\x12\n\x10PingPongResponse*v\n\x0cObjectSource\x12\x18\n\x14OBJECT_SOURCE_MEMORY\x10\x00\x12\x16\n\x12OBJECT_SOURCE_DISK\x10\x01\x12\x1b\n\x17OBJECT_SOURCE_DENKCACHE\x10\x02\x12\x17\n\x13OBJECT_SOURCE_AZURE\x10\x03\x32\xeb\x03\n\tDENKcache\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\x12X\n\x0fHasObjectCached\x12!.denkcache.HasObjectCachedRequest\x1a\".denkcache.HasObjectCachedResponse\x12O\n\x0cObjectExists\x12\x1e.denkcache.ObjectExistsRequest\x1a\x1f.denkcache.ObjectExistsResponse\x12\x46\n\tGetObject\x12\x1b.denkcache.GetObjectRequest\x1a\x1c.denkcache.GetObjectResponse\x12L\n\x0b\x43\x61\x63heObject\x12\x1d.denkcache.CacheObjectRequest\x1a\x1e.denkcache.CacheObjectResponse\x12X\n\x0fGetCachedObject\x12!.denkcache.GetCachedObjectRequest\x1a\".denkcache.GetCachedObjectResponseB/Z\x16\x64\x65nkproto-go/denkcache\xaa\x02\x14\x44\x45NK.Proto.DENKcacheb\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x65nkcache.proto\x12\tdenkcache\"@\n\x13ObjectExistsRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"&\n\x14ObjectExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"h\n\x13ObjectSourceMessage\x12\'\n\x06source\x18\x01 \x01(\x0e\x32\x17.denkcache.ObjectSource\x12\x18\n\x0bsource_info\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_source_info\"=\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"S\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12.\n\x06source\x18\x02 \x01(\x0b\x32\x1e.denkcache.ObjectSourceMessage\"O\n\x12\x43\x61\x63heObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x0c\"\x15\n\x13\x43\x61\x63heObjectResponse\"C\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"9\n\x17GetCachedObjectResponse\x12\x13\n\x06object\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_object\"C\n\x16HasObjectCachedRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\")\n\x17HasObjectCachedResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"\x11\n\x0fPingPongRequest\"\x12\n\x10PingPongResponse*v\n\x0cObjectSource\x12\x18\n\x14OBJECT_SOURCE_MEMORY\x10\x00\x12\x16\n\x12OBJECT_SOURCE_DISK\x10\x01\x12\x1b\n\x17OBJECT_SOURCE_DENKCACHE\x10\x02\x12\x17\n\x13OBJECT_SOURCE_AZURE\x10\x03\x32\xeb\x03\n\tDENKcache\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\x12X\n\x0fHasObjectCached\x12!.denkcache.HasObjectCachedRequest\x1a\".denkcache.HasObjectCachedResponse\x12O\n\x0cObjectExists\x12\x1e.denkcache.ObjectExistsRequest\x1a\x1f.denkcache.ObjectExistsResponse\x12\x46\n\tGetObject\x12\x1b.denkcache.GetObjectRequest\x1a\x1c.denkcache.GetObjectResponse\x12L\n\x0b\x43\x61\x63heObject\x12\x1d.denkcache.CacheObjectRequest\x1a\x1e.denkcache.CacheObjectResponse\x12X\n\x0fGetCachedObject\x12!.denkcache.GetCachedObjectRequest\x1a\".denkcache.GetCachedObjectResponseB/Z\x16\x64\x65nkproto-go/denkcache\xaa\x02\x14\x44\x45NK.Proto.DENKcacheb\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -32,32 +32,34 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'denkcache_pb2', _globals)
32
32
  if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['DESCRIPTOR']._loaded_options = None
34
34
  _globals['DESCRIPTOR']._serialized_options = b'Z\026denkproto-go/denkcache\252\002\024DENK.Proto.DENKcache'
35
- _globals['_OBJECTSOURCE']._serialized_start=660
36
- _globals['_OBJECTSOURCE']._serialized_end=778
35
+ _globals['_OBJECTSOURCE']._serialized_start=773
36
+ _globals['_OBJECTSOURCE']._serialized_end=891
37
37
  _globals['_OBJECTEXISTSREQUEST']._serialized_start=30
38
38
  _globals['_OBJECTEXISTSREQUEST']._serialized_end=94
39
39
  _globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
40
40
  _globals['_OBJECTEXISTSRESPONSE']._serialized_end=134
41
- _globals['_GETOBJECTREQUEST']._serialized_start=136
42
- _globals['_GETOBJECTREQUEST']._serialized_end=238
43
- _globals['_GETOBJECTRESPONSE']._serialized_start=240
44
- _globals['_GETOBJECTRESPONSE']._serialized_end=275
45
- _globals['_CACHEOBJECTREQUEST']._serialized_start=277
46
- _globals['_CACHEOBJECTREQUEST']._serialized_end=356
47
- _globals['_CACHEOBJECTRESPONSE']._serialized_start=358
48
- _globals['_CACHEOBJECTRESPONSE']._serialized_end=379
49
- _globals['_GETCACHEDOBJECTREQUEST']._serialized_start=381
50
- _globals['_GETCACHEDOBJECTREQUEST']._serialized_end=448
51
- _globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=450
52
- _globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=507
53
- _globals['_HASOBJECTCACHEDREQUEST']._serialized_start=509
54
- _globals['_HASOBJECTCACHEDREQUEST']._serialized_end=576
55
- _globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=578
56
- _globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=619
57
- _globals['_PINGPONGREQUEST']._serialized_start=621
58
- _globals['_PINGPONGREQUEST']._serialized_end=638
59
- _globals['_PINGPONGRESPONSE']._serialized_start=640
60
- _globals['_PINGPONGRESPONSE']._serialized_end=658
61
- _globals['_DENKCACHE']._serialized_start=781
62
- _globals['_DENKCACHE']._serialized_end=1272
41
+ _globals['_OBJECTSOURCEMESSAGE']._serialized_start=136
42
+ _globals['_OBJECTSOURCEMESSAGE']._serialized_end=240
43
+ _globals['_GETOBJECTREQUEST']._serialized_start=242
44
+ _globals['_GETOBJECTREQUEST']._serialized_end=303
45
+ _globals['_GETOBJECTRESPONSE']._serialized_start=305
46
+ _globals['_GETOBJECTRESPONSE']._serialized_end=388
47
+ _globals['_CACHEOBJECTREQUEST']._serialized_start=390
48
+ _globals['_CACHEOBJECTREQUEST']._serialized_end=469
49
+ _globals['_CACHEOBJECTRESPONSE']._serialized_start=471
50
+ _globals['_CACHEOBJECTRESPONSE']._serialized_end=492
51
+ _globals['_GETCACHEDOBJECTREQUEST']._serialized_start=494
52
+ _globals['_GETCACHEDOBJECTREQUEST']._serialized_end=561
53
+ _globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=563
54
+ _globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=620
55
+ _globals['_HASOBJECTCACHEDREQUEST']._serialized_start=622
56
+ _globals['_HASOBJECTCACHEDREQUEST']._serialized_end=689
57
+ _globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=691
58
+ _globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=732
59
+ _globals['_PINGPONGREQUEST']._serialized_start=734
60
+ _globals['_PINGPONGREQUEST']._serialized_end=751
61
+ _globals['_PINGPONGRESPONSE']._serialized_start=753
62
+ _globals['_PINGPONGRESPONSE']._serialized_end=771
63
+ _globals['_DENKCACHE']._serialized_start=894
64
+ _globals['_DENKCACHE']._serialized_end=1385
63
65
  # @@protoc_insertion_point(module_scope)
@@ -1,7 +1,7 @@
1
1
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
2
2
  from google.protobuf import descriptor as _descriptor
3
3
  from google.protobuf import message as _message
4
- from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
4
+ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
5
5
 
6
6
  DESCRIPTOR: _descriptor.FileDescriptor
7
7
 
@@ -30,21 +30,29 @@ class ObjectExistsResponse(_message.Message):
30
30
  exists: bool
31
31
  def __init__(self, exists: bool = ...) -> None: ...
32
32
 
33
+ class ObjectSourceMessage(_message.Message):
34
+ __slots__ = ("source", "source_info")
35
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
36
+ SOURCE_INFO_FIELD_NUMBER: _ClassVar[int]
37
+ source: ObjectSource
38
+ source_info: str
39
+ def __init__(self, source: _Optional[_Union[ObjectSource, str]] = ..., source_info: _Optional[str] = ...) -> None: ...
40
+
33
41
  class GetObjectRequest(_message.Message):
34
- __slots__ = ("container_name", "blob_name", "source")
42
+ __slots__ = ("container_name", "blob_name")
35
43
  CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
36
44
  BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
37
- SOURCE_FIELD_NUMBER: _ClassVar[int]
38
45
  container_name: str
39
46
  blob_name: str
40
- source: ObjectSource
41
- def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., source: _Optional[_Union[ObjectSource, str]] = ...) -> None: ...
47
+ def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
42
48
 
43
49
  class GetObjectResponse(_message.Message):
44
- __slots__ = ("object",)
50
+ __slots__ = ("object", "source")
45
51
  OBJECT_FIELD_NUMBER: _ClassVar[int]
52
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
46
53
  object: bytes
47
- def __init__(self, object: _Optional[bytes] = ...) -> None: ...
54
+ source: ObjectSourceMessage
55
+ def __init__(self, object: _Optional[bytes] = ..., source: _Optional[_Union[ObjectSourceMessage, _Mapping]] = ...) -> None: ...
48
56
 
49
57
  class CacheObjectRequest(_message.Message):
50
58
  __slots__ = ("container_name", "blob_name", "object")
@@ -1,5 +1,5 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: denkproto
3
- Version: 1.0.26
3
+ Version: 1.0.27
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: protobuf>=3.20.3
@@ -4,10 +4,10 @@ denkproto/DENKbuffer_pb2_grpc.py,sha256=-CPJPM4FOqwvwV8-f1iJlD18UD9juVIIHfdWUecu
4
4
  denkproto/ImageAnalysis_ProtobufMessages_pb2.py,sha256=koos4D2pZUVtuVazJrTjg8zTg17emlFvksRpFgbZ5y8,20050
5
5
  denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi,sha256=FQlBvJ-QEhEoHE7DpXBDpLZqg7vhd2EGpiuYUSa5QME,34698
6
6
  denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py,sha256=l3agtDjgu4jay6P9TRnHhyhJ-7UdoII27ywhw3k84oo,911
7
- denkproto/__about__.py,sha256=qsWFNiLm8PRshbacOTrlIH_bB-tODfzJKwdZTTLVp20,23
7
+ denkproto/__about__.py,sha256=BFoP77JSRWYw9boz6i1KHik7kj9lxXXrcX2G2k1cWrc,23
8
8
  denkproto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- denkproto/denkcache_pb2.py,sha256=BfXefagvJBXvYGOi4im-SY9NY920xSsqArvvM5pNe3M,4754
10
- denkproto/denkcache_pb2.pyi,sha256=llNfBhwRwpE6dp2lKzmLwAccVyVIxE6XeoVk9Q9PZ00,3712
9
+ denkproto/denkcache_pb2.py,sha256=XlXHlFsUuptsJ3onTTwi1Y8-lDpUzRmX6Bv6rjUbAww,5051
10
+ denkproto/denkcache_pb2.pyi,sha256=GMmkvXd06FVMhz1mTXzSWmu0NcpioO-pkLgvOB_3LIk,4093
11
11
  denkproto/denkcache_pb2_grpc.py,sha256=ZZPbjQqaOjBb9N3f7P1saOccmEVQLgR0k-nQsvZA9KA,12070
12
12
  denkproto/modelfile_v1_pb2.py,sha256=1vrVofquDm9UCxxHDMtB8icTsNQUaGQJx6J7oa19a4w,6545
13
13
  denkproto/modelfile_v1_pb2.pyi,sha256=gjTbWvg48wqGhyJb5CT0pw3yUZGhO_lSZgL7Ia2aPbY,10685
@@ -19,6 +19,6 @@ denkproto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  denkproto/results_pb2.py,sha256=-a_oQKyJo5rbtBsl94MTF0AmvLamSYrujHg0KFNHHvk,13622
20
20
  denkproto/results_pb2.pyi,sha256=xzZPmty65qEz9FzeoGwQlWMpuYxrP-cRFP97Ew8-FFI,25821
21
21
  denkproto/results_pb2_grpc.py,sha256=z-4qcDMjjuPRy7lDtECTtReByVEyz3fjIPES9dMlO58,888
22
- denkproto-1.0.26.dist-info/METADATA,sha256=lP7hYYiejqoCA1niBj-Cn5Jc866TpPYsW6XYIi3IZ-o,110
23
- denkproto-1.0.26.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
24
- denkproto-1.0.26.dist-info/RECORD,,
22
+ denkproto-1.0.27.dist-info/METADATA,sha256=SAr02TezAG380NVnZX0YC0tDzP4orUqNIaosftMH-rE,110
23
+ denkproto-1.0.27.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
24
+ denkproto-1.0.27.dist-info/RECORD,,