Comments (7)
Same with me:
/home/bebeto/Projects/api-collector/venv/lib/python3.8/site-packages/mongoengine_goodjson/encoder.py:151: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
@encode.register(collections.Iterable)
/home/bebeto/Projects/api-collector/venv/lib/python3.8/site-packages/mongoengine/queryset/base.py:399: DeprecationWarning: count is deprecated. Use Collection.count_documents instead.
count = self._cursor.count(with_limit_and_skip=with_limit_and_skip)
from mongoengine-goodjson.
Can you please attach the full warning log? This could be from a third party project or dependency.
from mongoengine-goodjson.
Below is the full log displayed in the console:
venv/lib/python3.8/site-packages/mongoengine_goodjson/encoder.py:151: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working @encode.register(collections.Iterable)
If there is a method of producing more verbose logs, let me know.
from mongoengine-goodjson.
It seems these were removed in 56d30c2
from mongoengine-goodjson.
I am using version 1.1.8. Looks like 56d30c2 just barely missed the 1.1.8 release. This issue should be fixed in the next release.
from mongoengine-goodjson.
Any updates on this?
from mongoengine-goodjson.
The same for me, is there is anything I can help with to fix this issue?
from mongoengine-goodjson.
Related Issues (20)
- Possibility to add model class properties in to_json()? HOT 2
- Serialization of DictField of ReferenceField HOT 11
- 2.0? HOT 1
- `DynamicField` to_json error HOT 2
- convert pipeline query result to JSON? HOT 4
- Pushing an Id to db.ListField(gj.FollowReferenceField()) adds an entire object HOT 3
- got an unexpected keyword argument 'follow_reference' HOT 1
- __unset_gj_flag_sub_field has sometimes raises error. HOT 1
- Unexpected Error while saving Document in MongoEngine after using mongoengine-goodjson HOT 1
- Custom QuerySet cancels goodjson
- Dependency Dashboard
- compatibility problems HOT 2
- No ID replace when returning list of objects HOT 4
- BooleanField to python for "False" executes to True in generate_object_hook HOT 6
- Is there a way to specify which format a DatetimeField will be resolved to? HOT 3
- Documentation
- Make ID attribute the first property HOT 1
- Problem with empty list HOT 4
- Poetry HOT 2
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 mongoengine-goodjson.