Comments (6)
Hi @loicgasser, thanks for writing in!
Our Team will be working on upgrades to the Python SDK as our next roadmap item and we'll also ensure that this issue is also resolved with those upgrades. We expect to start the work in the coming days and have the new updates fully rolled out in a couple of weeks.
Would this timeline be sufficient for you and your team to work with, or is this issue a blocker for you at this time?
from python-server-sdk.
Hi thank you for the quick response.
The solution for us at this point is not to use the SDK, and query DevCycle API directly using a "safer"
approach.
While I have your attention, we've also had our share of problems with
https://github.com/DevCycleHQ/python-server-sdk/blob/main/devcycle_python_sdk/api_client.py#L68
AK starting the ThreadPool
outside of the settings.py
. We learned the hard way we were creating a ThreadPool
under the hood (as problems yet again don't show up locally).
We are not using the async feature so I would like to see a world were we could also avoid the creation of a thread pool if we don't plane on using it.
It's probably out of scope, but python 3 is async
in nature and there are some lighter solutions out there if we want to use python asynchronously. I understand the reason for this optimization historically, but we would probably be better served with something like this:
https://github.com/encode/httpx
from python-server-sdk.
Hey @loicgasser that sounds good, we'll be sure to update you when our Python SDK updates have been made. We'll be re-evaluating the whole SDK, including how we're handling the Thread Pools so that should see some changes. Thanks for the additional info!
from python-server-sdk.
Hi @loicgasser,
We've released a new version of the DevCycle Cloud Bucketing Python SDK, v2.0.0. This is a major release that contains improvements to the underlying logic in the SDK. You can find out more by visiting the following link.
Release: https://github.com/DevCycleHQ/python-server-sdk/releases/tag/v2.0.0
Notable changes
- Classnames have changed! Be sure to check out our updated documentation to ensure that you're using the new SDK method names. Hint: check out the getting-started page and section on defining user attributes.
- Removed Support for Python 2
- Removed thread pooling rest client
We've updated our Django Sample App to v2.0.0 which will allow you to use Django middleware to initialize DevCycle, instead of initializing DevCycle in your settings.py. We recommend checking that out as well.
Sample App: https://github.com/DevCycleHQ/python-django-example-app
Let us know if you have any questions on the release!
from python-server-sdk.
Great thanks
from python-server-sdk.
@loicgasser we're going to mark this as resolved. Let us know if you run into any further issues.
from python-server-sdk.
Related Issues (6)
- What is the compatibility of this library with the different python versions? HOT 5
- Add a py.typed marker file so type annotations are available to downstream users HOT 12
- Implement an OpenFeature provider HOT 8
- Error evaluating variable: CloudClientException: Retries exceeded HOT 5
- Dependency constraint failure when trying to update to latest version of requests HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-server-sdk.