clarifai-grpc 11.7.6__py3-none-any.whl → 11.7.8__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.
clarifai_grpc/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "11.7.6"
1
+ __version__ = "11.7.8"
2
2
 
3
3
  import os
4
4
 
@@ -6,8 +6,10 @@ import grpc
6
6
  from clarifai_grpc.channel.grpc_json_channel import GRPCJSONChannel
7
7
 
8
8
  RETRIES = 2 # if connections fail retry a couple times.
9
- CONNECTIONS = 20 # number of connections to maintain in pool.
10
- MAX_MESSAGE_LENGTH = 128 * 1024 * 1024 # 128MB
9
+ CONNECTIONS = (
10
+ 20 # number of connections to maintain in pool, only usd for json channel, not direct GRPC.
11
+ )
12
+ MAX_MESSAGE_LENGTH = 1024 * 1024 * 1024 # 1GB
11
13
 
12
14
  wrap_response_deserializer = None
13
15
 
@@ -87,6 +89,7 @@ class ClarifaiChannel:
87
89
  options=[
88
90
  ("grpc.service_config", grpc_json_config),
89
91
  ("grpc.max_receive_message_length", MAX_MESSAGE_LENGTH),
92
+ ("grpc.max_send_message_length", MAX_MESSAGE_LENGTH),
90
93
  ],
91
94
  )
92
95
 
@@ -108,6 +111,7 @@ class ClarifaiChannel:
108
111
  options=[
109
112
  ("grpc.service_config", grpc_json_config),
110
113
  ("grpc.max_receive_message_length", MAX_MESSAGE_LENGTH),
114
+ ("grpc.max_send_message_length", MAX_MESSAGE_LENGTH),
111
115
  ],
112
116
  )
113
117
 
@@ -136,6 +140,7 @@ class ClarifaiChannel:
136
140
  options=[
137
141
  ("grpc.service_config", grpc_json_config),
138
142
  ("grpc.max_receive_message_length", MAX_MESSAGE_LENGTH),
143
+ ("grpc.max_send_message_length", MAX_MESSAGE_LENGTH),
139
144
  ],
140
145
  )
141
146
 
@@ -157,5 +162,6 @@ class ClarifaiChannel:
157
162
  options=[
158
163
  ("grpc.service_config", grpc_json_config),
159
164
  ("grpc.max_receive_message_length", MAX_MESSAGE_LENGTH),
165
+ ("grpc.max_send_message_length", MAX_MESSAGE_LENGTH),
160
166
  ],
161
167
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clarifai-grpc
3
- Version: 11.7.6
3
+ Version: 11.7.8
4
4
  Summary: Clarifai gRPC API Client
5
5
  Home-page: https://github.com/Clarifai/clarifai-python-grpc
6
6
  Author: Clarifai
@@ -1,6 +1,6 @@
1
- clarifai_grpc/__init__.py,sha256=pqNy1r2y3eIlmy8FykHWD2GS2o56dqb6o9bDx7-grAQ,1440
1
+ clarifai_grpc/__init__.py,sha256=XaXJ1EJpvJ7VWtyuKemp4BieO30jvjYZxWDHtyXDxpc,1440
2
2
  clarifai_grpc/channel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- clarifai_grpc/channel/clarifai_channel.py,sha256=YrunKnfqln0WU3u4HWhK1t_ezJuut2S5achqcWBQl2g,5439
3
+ clarifai_grpc/channel/clarifai_channel.py,sha256=fGqFlagWzKhRny-RAxbKlXT9_k9HohPs9yCKmkkQZ5c,5770
4
4
  clarifai_grpc/channel/errors.py,sha256=VUoLZLLcIfI2nOGlz1dzbOKQJhGodOO98pSSjlsRD6s,183
5
5
  clarifai_grpc/channel/exceptions.py,sha256=q7TXcei0nUQRF1H4tBIRxDVTJmFB1eCQcdeDxbEbTnY,45
6
6
  clarifai_grpc/channel/grpc_json_channel.py,sha256=y8wY4HVz_9iKEReziqpwemmixZWiRgvRjBmQkSRzEhg,17317
@@ -46,8 +46,8 @@ clarifai_grpc/grpc/auth/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
46
46
  clarifai_grpc/grpc/auth/util/extension_pb2.py,sha256=Fnx7qS6aB9HsjxzALVRrGZm_1RAvUnWN-ZG3P6_AurA,2612
47
47
  clarifai_grpc/grpc/auth/util/extension_pb2.pyi,sha256=k4sOr3PHePx3u7zP2ZghKMLc_xF2O4E-vKYsQO1ZdSw,3288
48
48
  clarifai_grpc/grpc/auth/util/extension_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
49
- clarifai_grpc-11.7.6.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
- clarifai_grpc-11.7.6.dist-info/METADATA,sha256=nkX7KeTE-Obw4jYR6vuV1Da4IMTX9h2dpIFPUo2Ot54,4427
51
- clarifai_grpc-11.7.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
- clarifai_grpc-11.7.6.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
- clarifai_grpc-11.7.6.dist-info/RECORD,,
49
+ clarifai_grpc-11.7.8.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
+ clarifai_grpc-11.7.8.dist-info/METADATA,sha256=hWDVNh8596EvenzmJV_GogOWBgh5YRb5FUjjF4QXISk,4427
51
+ clarifai_grpc-11.7.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
+ clarifai_grpc-11.7.8.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
+ clarifai_grpc-11.7.8.dist-info/RECORD,,