denkproto 1.0.27__py3-none-any.whl → 1.0.29__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/denkcache_pb2.py +23 -21
- denkproto/denkcache_pb2.pyi +13 -2
- {denkproto-1.0.27.dist-info → denkproto-1.0.29.dist-info}/METADATA +1 -1
- {denkproto-1.0.27.dist-info → denkproto-1.0.29.dist-info}/RECORD +6 -6
- {denkproto-1.0.27.dist-info → denkproto-1.0.29.dist-info}/WHEEL +0 -0
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.29"
|
denkproto/denkcache_pb2.py
CHANGED
|
@@ -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\"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\"
|
|
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\"\x99\x01\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\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x04 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"\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*H\n\x11\x43\x61\x63heObjectPolicy\x12\x0f\n\x0bMEMORY_ONLY\x10\x00\x12\r\n\tDISK_ONLY\x10\x01\x12\x13\n\x0fMEMORY_AND_DISK\x10\x02\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,8 +32,10 @@ _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=
|
|
36
|
-
_globals['_OBJECTSOURCE']._serialized_end=
|
|
35
|
+
_globals['_OBJECTSOURCE']._serialized_start=848
|
|
36
|
+
_globals['_OBJECTSOURCE']._serialized_end=966
|
|
37
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_start=968
|
|
38
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_end=1040
|
|
37
39
|
_globals['_OBJECTEXISTSREQUEST']._serialized_start=30
|
|
38
40
|
_globals['_OBJECTEXISTSREQUEST']._serialized_end=94
|
|
39
41
|
_globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
|
|
@@ -44,22 +46,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
46
|
_globals['_GETOBJECTREQUEST']._serialized_end=303
|
|
45
47
|
_globals['_GETOBJECTRESPONSE']._serialized_start=305
|
|
46
48
|
_globals['_GETOBJECTRESPONSE']._serialized_end=388
|
|
47
|
-
_globals['_CACHEOBJECTREQUEST']._serialized_start=
|
|
48
|
-
_globals['_CACHEOBJECTREQUEST']._serialized_end=
|
|
49
|
-
_globals['_CACHEOBJECTRESPONSE']._serialized_start=
|
|
50
|
-
_globals['_CACHEOBJECTRESPONSE']._serialized_end=
|
|
51
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=
|
|
52
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=
|
|
53
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=
|
|
54
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=
|
|
55
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=
|
|
56
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=
|
|
57
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=
|
|
58
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=
|
|
59
|
-
_globals['_PINGPONGREQUEST']._serialized_start=
|
|
60
|
-
_globals['_PINGPONGREQUEST']._serialized_end=
|
|
61
|
-
_globals['_PINGPONGRESPONSE']._serialized_start=
|
|
62
|
-
_globals['_PINGPONGRESPONSE']._serialized_end=
|
|
63
|
-
_globals['_DENKCACHE']._serialized_start=
|
|
64
|
-
_globals['_DENKCACHE']._serialized_end=
|
|
49
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_start=391
|
|
50
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_end=544
|
|
51
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_start=546
|
|
52
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_end=567
|
|
53
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=569
|
|
54
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=636
|
|
55
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=638
|
|
56
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=695
|
|
57
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=697
|
|
58
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=764
|
|
59
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=766
|
|
60
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=807
|
|
61
|
+
_globals['_PINGPONGREQUEST']._serialized_start=809
|
|
62
|
+
_globals['_PINGPONGREQUEST']._serialized_end=826
|
|
63
|
+
_globals['_PINGPONGRESPONSE']._serialized_start=828
|
|
64
|
+
_globals['_PINGPONGRESPONSE']._serialized_end=846
|
|
65
|
+
_globals['_DENKCACHE']._serialized_start=1043
|
|
66
|
+
_globals['_DENKCACHE']._serialized_end=1534
|
|
65
67
|
# @@protoc_insertion_point(module_scope)
|
denkproto/denkcache_pb2.pyi
CHANGED
|
@@ -11,10 +11,19 @@ class ObjectSource(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
11
11
|
OBJECT_SOURCE_DISK: _ClassVar[ObjectSource]
|
|
12
12
|
OBJECT_SOURCE_DENKCACHE: _ClassVar[ObjectSource]
|
|
13
13
|
OBJECT_SOURCE_AZURE: _ClassVar[ObjectSource]
|
|
14
|
+
|
|
15
|
+
class CacheObjectPolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
MEMORY_ONLY: _ClassVar[CacheObjectPolicy]
|
|
18
|
+
DISK_ONLY: _ClassVar[CacheObjectPolicy]
|
|
19
|
+
MEMORY_AND_DISK: _ClassVar[CacheObjectPolicy]
|
|
14
20
|
OBJECT_SOURCE_MEMORY: ObjectSource
|
|
15
21
|
OBJECT_SOURCE_DISK: ObjectSource
|
|
16
22
|
OBJECT_SOURCE_DENKCACHE: ObjectSource
|
|
17
23
|
OBJECT_SOURCE_AZURE: ObjectSource
|
|
24
|
+
MEMORY_ONLY: CacheObjectPolicy
|
|
25
|
+
DISK_ONLY: CacheObjectPolicy
|
|
26
|
+
MEMORY_AND_DISK: CacheObjectPolicy
|
|
18
27
|
|
|
19
28
|
class ObjectExistsRequest(_message.Message):
|
|
20
29
|
__slots__ = ("container_name", "blob_name")
|
|
@@ -55,14 +64,16 @@ class GetObjectResponse(_message.Message):
|
|
|
55
64
|
def __init__(self, object: _Optional[bytes] = ..., source: _Optional[_Union[ObjectSourceMessage, _Mapping]] = ...) -> None: ...
|
|
56
65
|
|
|
57
66
|
class CacheObjectRequest(_message.Message):
|
|
58
|
-
__slots__ = ("container_name", "blob_name", "object")
|
|
67
|
+
__slots__ = ("container_name", "blob_name", "object", "cache_policy")
|
|
59
68
|
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
60
69
|
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
61
70
|
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
62
72
|
container_name: str
|
|
63
73
|
blob_name: str
|
|
64
74
|
object: bytes
|
|
65
|
-
|
|
75
|
+
cache_policy: CacheObjectPolicy
|
|
76
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., object: _Optional[bytes] = ..., cache_policy: _Optional[_Union[CacheObjectPolicy, str]] = ...) -> None: ...
|
|
66
77
|
|
|
67
78
|
class CacheObjectResponse(_message.Message):
|
|
68
79
|
__slots__ = ()
|
|
@@ -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=
|
|
7
|
+
denkproto/__about__.py,sha256=BBmi5TxVi3pzemafZwdH6Fv0y3TGRe8rQn6QWN0sJDw,23
|
|
8
8
|
denkproto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
denkproto/denkcache_pb2.py,sha256=
|
|
10
|
-
denkproto/denkcache_pb2.pyi,sha256=
|
|
9
|
+
denkproto/denkcache_pb2.py,sha256=FnW2liynS3YMj2zbMCXRr-r3Ick4YvxYhxqSERgTBu0,5430
|
|
10
|
+
denkproto/denkcache_pb2.pyi,sha256=8JvlFUGomV78gLY6isCHgOkWFwFDWgXD2_JCOijGn7g,4585
|
|
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.
|
|
23
|
-
denkproto-1.0.
|
|
24
|
-
denkproto-1.0.
|
|
22
|
+
denkproto-1.0.29.dist-info/METADATA,sha256=vFC5rRZGKpT2w7N9PgiNKgHMVq86i6eLdB7txVVX6eI,110
|
|
23
|
+
denkproto-1.0.29.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
24
|
+
denkproto-1.0.29.dist-info/RECORD,,
|
|
File without changes
|