denkproto 1.0.80__py3-none-any.whl → 1.0.86__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 +38 -36
- denkproto/denkcache_pb2.pyi +19 -10
- {denkproto-1.0.80.dist-info → denkproto-1.0.86.dist-info}/METADATA +1 -1
- {denkproto-1.0.80.dist-info → denkproto-1.0.86.dist-info}/RECORD +6 -6
- {denkproto-1.0.80.dist-info → denkproto-1.0.86.dist-info}/WHEEL +0 -0
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.86"
|
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\"
|
|
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\"\x8a\x01\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12:\n\x0c\x63\x61\x63he_policy\x18\x03 \x01(\x0e\x32\x1f.denkcache.GetObjectCachePolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"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\"\x8d\x01\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x03 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"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\"=\n\x15\x43hangeSettingsRequest\x12\x16\n\tlog_level\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_log_level\"\x18\n\x16\x43hangeSettingsResponse\"D\n\x17InvalidateObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"+\n\x18InvalidateObjectResponse\x12\x0f\n\x07\x65xisted\x18\x01 \x01(\x08*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*\x85\x01\n\x14GetObjectCachePolicy\x12\x1a\n\x16GET_OBJECT_MEMORY_ONLY\x10\x00\x12\x18\n\x14GET_OBJECT_DISK_ONLY\x10\x01\x12\x1e\n\x1aGET_OBJECT_MEMORY_AND_DISK\x10\x02\x12\x17\n\x13GET_OBJECT_NO_CACHE\x10\x03*o\n\x11\x43\x61\x63heObjectPolicy\x12\x1c\n\x18\x43\x41\x43HE_OBJECT_MEMORY_ONLY\x10\x00\x12\x1a\n\x16\x43\x41\x43HE_OBJECT_DISK_ONLY\x10\x01\x12 \n\x1c\x43\x41\x43HE_OBJECT_MEMORY_AND_DISK\x10\x02\x32\x9f\x05\n\tDENKcache\x12U\n\x0e\x43hangeSettings\x12 .denkcache.ChangeSettingsRequest\x1a!.denkcache.ChangeSettingsResponse\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\x12[\n\x10InvalidateObject\x12\".denkcache.InvalidateObjectRequest\x1a#.denkcache.InvalidateObjectResponse\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.GetCachedObjectResponseBCZ*github.com/DENKweit/denkproto-go/denkcache\xaa\x02\x14\x44\x45NK.Proto.DENKcacheb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,44 +32,46 @@ _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*github.com/DENKweit/denkproto-go/denkcache\252\002\024DENK.Proto.DENKcache'
|
|
35
|
-
_globals['_OBJECTSOURCE']._serialized_start=
|
|
36
|
-
_globals['_OBJECTSOURCE']._serialized_end=
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
35
|
+
_globals['_OBJECTSOURCE']._serialized_start=1205
|
|
36
|
+
_globals['_OBJECTSOURCE']._serialized_end=1323
|
|
37
|
+
_globals['_GETOBJECTCACHEPOLICY']._serialized_start=1326
|
|
38
|
+
_globals['_GETOBJECTCACHEPOLICY']._serialized_end=1459
|
|
39
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_start=1461
|
|
40
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_end=1572
|
|
39
41
|
_globals['_OBJECTEXISTSREQUEST']._serialized_start=30
|
|
40
42
|
_globals['_OBJECTEXISTSREQUEST']._serialized_end=94
|
|
41
43
|
_globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
|
|
42
44
|
_globals['_OBJECTEXISTSRESPONSE']._serialized_end=134
|
|
43
45
|
_globals['_OBJECTSOURCEMESSAGE']._serialized_start=136
|
|
44
|
-
_globals['_OBJECTSOURCEMESSAGE']._serialized_end=
|
|
45
|
-
_globals['_GETOBJECTREQUEST']._serialized_start=
|
|
46
|
-
_globals['_GETOBJECTREQUEST']._serialized_end=
|
|
47
|
-
_globals['_GETOBJECTRESPONSE']._serialized_start=
|
|
48
|
-
_globals['_GETOBJECTRESPONSE']._serialized_end=
|
|
49
|
-
_globals['_CACHEOBJECTREQUEST']._serialized_start=
|
|
50
|
-
_globals['_CACHEOBJECTREQUEST']._serialized_end=
|
|
51
|
-
_globals['_CACHEOBJECTRESPONSE']._serialized_start=
|
|
52
|
-
_globals['_CACHEOBJECTRESPONSE']._serialized_end=
|
|
53
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=
|
|
54
|
-
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=
|
|
55
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=
|
|
56
|
-
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=
|
|
57
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=
|
|
58
|
-
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=
|
|
59
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=
|
|
60
|
-
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=
|
|
61
|
-
_globals['_PINGPONGREQUEST']._serialized_start=
|
|
62
|
-
_globals['_PINGPONGREQUEST']._serialized_end=
|
|
63
|
-
_globals['_PINGPONGRESPONSE']._serialized_start=
|
|
64
|
-
_globals['_PINGPONGRESPONSE']._serialized_end=
|
|
65
|
-
_globals['_CHANGESETTINGSREQUEST']._serialized_start=
|
|
66
|
-
_globals['_CHANGESETTINGSREQUEST']._serialized_end=
|
|
67
|
-
_globals['_CHANGESETTINGSRESPONSE']._serialized_start=
|
|
68
|
-
_globals['_CHANGESETTINGSRESPONSE']._serialized_end=
|
|
69
|
-
_globals['_INVALIDATEOBJECTREQUEST']._serialized_start=
|
|
70
|
-
_globals['_INVALIDATEOBJECTREQUEST']._serialized_end=
|
|
71
|
-
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_start=
|
|
72
|
-
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_end=
|
|
73
|
-
_globals['_DENKCACHE']._serialized_start=
|
|
74
|
-
_globals['_DENKCACHE']._serialized_end=
|
|
46
|
+
_globals['_OBJECTSOURCEMESSAGE']._serialized_end=240
|
|
47
|
+
_globals['_GETOBJECTREQUEST']._serialized_start=243
|
|
48
|
+
_globals['_GETOBJECTREQUEST']._serialized_end=381
|
|
49
|
+
_globals['_GETOBJECTRESPONSE']._serialized_start=383
|
|
50
|
+
_globals['_GETOBJECTRESPONSE']._serialized_end=466
|
|
51
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_start=469
|
|
52
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_end=622
|
|
53
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_start=624
|
|
54
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_end=645
|
|
55
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=648
|
|
56
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=789
|
|
57
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=791
|
|
58
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=848
|
|
59
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=850
|
|
60
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=917
|
|
61
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=919
|
|
62
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=960
|
|
63
|
+
_globals['_PINGPONGREQUEST']._serialized_start=962
|
|
64
|
+
_globals['_PINGPONGREQUEST']._serialized_end=979
|
|
65
|
+
_globals['_PINGPONGRESPONSE']._serialized_start=981
|
|
66
|
+
_globals['_PINGPONGRESPONSE']._serialized_end=999
|
|
67
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_start=1001
|
|
68
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_end=1062
|
|
69
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_start=1064
|
|
70
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_end=1088
|
|
71
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_start=1090
|
|
72
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_end=1158
|
|
73
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_start=1160
|
|
74
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_end=1203
|
|
75
|
+
_globals['_DENKCACHE']._serialized_start=1575
|
|
76
|
+
_globals['_DENKCACHE']._serialized_end=2246
|
|
75
77
|
# @@protoc_insertion_point(module_scope)
|
denkproto/denkcache_pb2.pyi
CHANGED
|
@@ -12,20 +12,29 @@ class ObjectSource(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
12
12
|
OBJECT_SOURCE_DENKCACHE: _ClassVar[ObjectSource]
|
|
13
13
|
OBJECT_SOURCE_AZURE: _ClassVar[ObjectSource]
|
|
14
14
|
|
|
15
|
+
class GetObjectCachePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
GET_OBJECT_MEMORY_ONLY: _ClassVar[GetObjectCachePolicy]
|
|
18
|
+
GET_OBJECT_DISK_ONLY: _ClassVar[GetObjectCachePolicy]
|
|
19
|
+
GET_OBJECT_MEMORY_AND_DISK: _ClassVar[GetObjectCachePolicy]
|
|
20
|
+
GET_OBJECT_NO_CACHE: _ClassVar[GetObjectCachePolicy]
|
|
21
|
+
|
|
15
22
|
class CacheObjectPolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
23
|
__slots__ = ()
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
NO_CACHE: _ClassVar[CacheObjectPolicy]
|
|
24
|
+
CACHE_OBJECT_MEMORY_ONLY: _ClassVar[CacheObjectPolicy]
|
|
25
|
+
CACHE_OBJECT_DISK_ONLY: _ClassVar[CacheObjectPolicy]
|
|
26
|
+
CACHE_OBJECT_MEMORY_AND_DISK: _ClassVar[CacheObjectPolicy]
|
|
21
27
|
OBJECT_SOURCE_MEMORY: ObjectSource
|
|
22
28
|
OBJECT_SOURCE_DISK: ObjectSource
|
|
23
29
|
OBJECT_SOURCE_DENKCACHE: ObjectSource
|
|
24
30
|
OBJECT_SOURCE_AZURE: ObjectSource
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
GET_OBJECT_MEMORY_ONLY: GetObjectCachePolicy
|
|
32
|
+
GET_OBJECT_DISK_ONLY: GetObjectCachePolicy
|
|
33
|
+
GET_OBJECT_MEMORY_AND_DISK: GetObjectCachePolicy
|
|
34
|
+
GET_OBJECT_NO_CACHE: GetObjectCachePolicy
|
|
35
|
+
CACHE_OBJECT_MEMORY_ONLY: CacheObjectPolicy
|
|
36
|
+
CACHE_OBJECT_DISK_ONLY: CacheObjectPolicy
|
|
37
|
+
CACHE_OBJECT_MEMORY_AND_DISK: CacheObjectPolicy
|
|
29
38
|
|
|
30
39
|
class ObjectExistsRequest(_message.Message):
|
|
31
40
|
__slots__ = ("container_name", "blob_name")
|
|
@@ -56,8 +65,8 @@ class GetObjectRequest(_message.Message):
|
|
|
56
65
|
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
57
66
|
container_name: str
|
|
58
67
|
blob_name: str
|
|
59
|
-
cache_policy:
|
|
60
|
-
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., cache_policy: _Optional[_Union[
|
|
68
|
+
cache_policy: GetObjectCachePolicy
|
|
69
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., cache_policy: _Optional[_Union[GetObjectCachePolicy, str]] = ...) -> None: ...
|
|
61
70
|
|
|
62
71
|
class GetObjectResponse(_message.Message):
|
|
63
72
|
__slots__ = ("object", "source")
|
|
@@ -4,10 +4,10 @@ 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=nkC34X7AIf8dSXGR-Qno5kHNZq00e6MuZ-w_QP3ES_I,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=u0O26m7t4kfu4R1nx1ZcTst4n6pG32pMbhl2PGYivXE,7161
|
|
10
|
+
denkproto/denkcache_pb2.pyi,sha256=8K_Ebyy4mgXrxqJenN8f8LXLvVKOiaZxhmGeYjFZVpY,6357
|
|
11
11
|
denkproto/denkcache_pb2_grpc.py,sha256=N1y4ZQ58UPaUlOZIpznzAbJJcs9G_n-FmzFoPPeu8UA,15610
|
|
12
12
|
denkproto/inference_graph_pb2.py,sha256=D62R4uecncs1t1eHpKGu5t7tRg26mqT2SityGqjzTCg,19763
|
|
13
13
|
denkproto/inference_graph_pb2.pyi,sha256=By1A5iEmCVG4rMRAAPLGN5d7KIFqcpl4jZvKL8OYNlc,12351
|
|
@@ -31,6 +31,6 @@ denkproto/json/inference_graph_models_generated.py,sha256=k1uS0wfk8_ZBLEdskan6HJ
|
|
|
31
31
|
denkproto/json/object_detection_markup.py,sha256=T0hcFPq8F_galjDjRC9dbcRVwCSOYtu2jt9wpEeHlQs,4904
|
|
32
32
|
denkproto/json/ocr_markup.py,sha256=KyOpth9evOekyhTJdZSnYyB9EIyoWbY33sqncb_jBgw,7069
|
|
33
33
|
denkproto/json/segmentation_markup.py,sha256=EvniRksF2KaQolm6zZ6UKSiGwnqc8wR2sHB1iv05RTE,19911
|
|
34
|
-
denkproto-1.0.
|
|
35
|
-
denkproto-1.0.
|
|
36
|
-
denkproto-1.0.
|
|
34
|
+
denkproto-1.0.86.dist-info/METADATA,sha256=o1JAcBZbNpJZpHOzUDneIz482-1yxdbVRp_bLLyhhzA,110
|
|
35
|
+
denkproto-1.0.86.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
36
|
+
denkproto-1.0.86.dist-info/RECORD,,
|
|
File without changes
|