-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please mark Dapr-dev Python >= 3.7 instead of 3.8 #82
Comments
ok make sense. I will make a change. |
Awesome, thanks a lot! :) this will specifically enable tensorflow 1.14.0 to be utilized! |
Nice! BTW, I am working on convenient layer for app callback as well. Then we do not need to implement grpc server either. This is an example: from dapr import App, CallbackResponse
app = App()
@app.method(name='my-method')
def mymethod(metadata, data, content_type, *http_args) -> CallbackResponse:
print(metadata, flush=True)
print(data, flush=True)
return b'INVOKE_RECEIVED'
app.daprize()
app.wait_until_stop() |
Awesome work! This seems really useful 😊 currently I switched back the HTTP layer as well seeing the amazing speed, might switch back to gRPC after a while. P.S. Seeing an odd bug that "might" have to do with Dapr at high velocity of calls, I'll post the relevant Stacktrace here already but it might be a bug in my code as well. It happens randomly whenever doing a lot of calls.... unsure if it's my code, dapr or python core code... == APP == File "/home/xanrin/dapr-python-sdk/dapr/actor/client/proxy.py", line 71, in __call__
== APP == return self._message_serializer.deserialize(rtnval, self._attr_call_type['return_types'])
== APP == File "/home/xanrin/dapr-python-sdk/dapr/serializers/json.py", line 49, in deserialize
== APP == obj = json.loads(data, cls=DaprJSONDecoder)
== APP == File "/usr/lib/python3.7/json/__init__.py", line 361, in loads
== APP == return cls(**kw).decode(s)
== APP == File "/usr/lib/python3.7/json/decoder.py", line 340, in decode
== APP == raise JSONDecodeError("Extra data", s, end)
== APP == json.decoder.JSONDecodeError: Extra data: line 1 column 95 (char 94) |
Describe the proposal
I would like to see Python >= 3.7 supported instead of 3.8 (which is cutting edge), seeing that a lot of libraries are still depending on 3.7 at the moment.
The text was updated successfully, but these errors were encountered: