openedx-mongodbproxy
Advanced tools
+4
-1
@@ -20,4 +20,7 @@ """ | ||
| import pymongo | ||
| import pymongo.collection | ||
| import time | ||
| from pymongo.database import Database | ||
| log = logging.getLogger(__name__) | ||
@@ -107,3 +110,3 @@ | ||
| attr = getattr(self.proxied_object, key) | ||
| if hasattr(attr, '__call__') or isinstance(attr, pymongo.database.Database): | ||
| if hasattr(attr, '__call__') or isinstance(attr, Database): | ||
| attributes_for_class = self.methods_needing_retry.get(self.proxied_object.__class__, []) | ||
@@ -110,0 +113,0 @@ if key in attributes_for_class: |
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 2.4 | ||
| Name: openedx-mongodbproxy | ||
| Version: 0.2.2 | ||
| Version: 0.3.0 | ||
| Summary: Proxy around MongoDB connection that automatically handles AutoReconnect exceptions. | ||
@@ -10,5 +10,13 @@ Home-page: https://github.com/arngarden/MongoDBProxy | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.6 | ||
| Classifier: Programming Language :: Python :: 3.8 | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: pymongo | ||
| Dynamic: author | ||
| Dynamic: classifier | ||
| Dynamic: description | ||
| Dynamic: description-content-type | ||
| Dynamic: home-page | ||
| Dynamic: requires-dist | ||
| Dynamic: summary | ||
@@ -15,0 +23,0 @@ MongoDBProxy |
+12
-4
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 2.1 | ||
| Metadata-Version: 2.4 | ||
| Name: openedx-mongodbproxy | ||
| Version: 0.2.2 | ||
| Version: 0.3.0 | ||
| Summary: Proxy around MongoDB connection that automatically handles AutoReconnect exceptions. | ||
@@ -10,5 +10,13 @@ Home-page: https://github.com/arngarden/MongoDBProxy | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.6 | ||
| Classifier: Programming Language :: Python :: 3.8 | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: pymongo | ||
| Dynamic: author | ||
| Dynamic: classifier | ||
| Dynamic: description | ||
| Dynamic: description-content-type | ||
| Dynamic: home-page | ||
| Dynamic: requires-dist | ||
| Dynamic: summary | ||
@@ -15,0 +23,0 @@ MongoDBProxy |
+3
-3
@@ -49,3 +49,3 @@ """ | ||
| py_modules=['mongodb_proxy'], | ||
| version='0.2.2', | ||
| version='0.3.0', | ||
| description='Proxy around MongoDB connection that automatically handles AutoReconnect exceptions.', | ||
@@ -59,4 +59,4 @@ author='Gustav Arngarden', | ||
| 'Programming Language :: Python :: 3', | ||
| 'Programming Language :: Python :: 3.6', | ||
| 'Programming Language :: Python :: 3.8', | ||
| 'Programming Language :: Python :: 3.11', | ||
| 'Programming Language :: Python :: 3.12', | ||
| ], | ||
@@ -63,0 +63,0 @@ install_requires=load_requirements('requirements/base.in'), |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
10689
3.89%159
1.27%