We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d4bca commit 630858cCopy full SHA for 630858c
1 file changed
src/zeep/client.py
@@ -13,11 +13,10 @@ class OperationProxy(object):
13
def __init__(self, service_proxy, operation_name):
14
self._proxy = service_proxy
15
self._op_name = operation_name
16
- try:
17
- signature = str(self._proxy._binding._operations[operation_name])
18
- self.__doc__ = signature
19
- except:
20
- self.__doc__ = 'OperationProxy for %s' % operation_name
+
+ @property
+ def __doc__(self):
+ return str(self._proxy._binding._operations[self._op_name])
21
22
def __call__(self, *args, **kwargs):
23
"""Call the operation with the given args and kwargs.
0 commit comments