Skip to content
Snippets Groups Projects
Commit 142f37fe authored by Antoine Millet's avatar Antoine Millet
Browse files

Added retrieval of a proxified method by getitem.

parent 55fec6ea
No related branches found
No related tags found
No related merge requests found
......@@ -39,3 +39,6 @@ class ConnectionProxy(object):
return returned
return func
def __getitem__(self, name):
return self.__getattr__(name)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment