openedx-mongodbproxy
Advanced tools
+2
-2
@@ -86,3 +86,3 @@ """ | ||
| item = self.proxied_object[key] | ||
| if hasattr(item, '__call__'): | ||
| if hasattr(item, '__call__') or isinstance(item, pymongo.database.Database): | ||
| return MongoProxy(item, self.wait_time) | ||
@@ -107,3 +107,3 @@ return item | ||
| attr = getattr(self.proxied_object, key) | ||
| if hasattr(attr, '__call__'): | ||
| if hasattr(attr, '__call__') or isinstance(attr, pymongo.database.Database): | ||
| attributes_for_class = self.methods_needing_retry.get(self.proxied_object.__class__, []) | ||
@@ -110,0 +110,0 @@ if key in attributes_for_class: |
| Metadata-Version: 2.1 | ||
| Name: openedx-mongodbproxy | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Proxy around MongoDB connection that automatically handles AutoReconnect exceptions. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/arngarden/MongoDBProxy |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: openedx-mongodbproxy | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Proxy around MongoDB connection that automatically handles AutoReconnect exceptions. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/arngarden/MongoDBProxy |
+1
-1
@@ -63,3 +63,3 @@ """ | ||
| py_modules=['mongodb_proxy'], | ||
| version='0.2.0', | ||
| version='0.2.1', | ||
| description='Proxy around MongoDB connection that automatically handles AutoReconnect exceptions.', | ||
@@ -66,0 +66,0 @@ author='Gustav Arngarden', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
10684
0.89%