issues
search
serverless
/
dashboard
MIT License
26
stars
10
forks
source link
[Python SDK] Do not import typing extensions for new versions
#776
Closed
selcukcihan
closed
1 year ago
selcukcihan
commented
1 year ago
Description
Related issues
https://linear.app/serverless/issue/SC-593/python-sdk-big-latency-overhead
https://linear.app/serverless/issue/SC-977/user-thetie-seeing-error-in-production-mode-with-python-sdk
Typing extensions module is only needed for Python v3.7 and below, this change makes sure we only import this module if it's necessary for the given runtime.
Testing done
Unit/Integration/Perf tested
The init time is further reduced around 20ms.
selcukcihan
commented
1 year ago
@medikoo ready for review please 🙏
Description
Testing done