Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET Template calls failing #33

Open
excenter opened this issue Jul 22, 2019 · 4 comments
Open

GET Template calls failing #33

excenter opened this issue Jul 22, 2019 · 4 comments

Comments

@excenter
Copy link

Template get (a call I've made hundreds of times before with the same code*) is failing deep in the docusign code.

Any suggestions on what is going bump in the night?

*pre-docusign-python-client update

Traceback (most recent call last):
File "/var/task/handler.py", line 117, in get_templates
result = Template(api_client).get(event)
File "/var/task/template.py", line 152, in get
raise ex
File "/var/task/template.py", line 146, in get
Template.accountID, template_id).to_dict()
File "/var/task/docusign_esign/apis/templates_api.py", line 2291, in get
(data) = self.get_with_http_info(account_id, template_id, **kwargs)
File "/var/task/docusign_esign/apis/templates_api.py", line 2378, in get_with_http_info
collection_formats=collection_formats)
File "/var/task/docusign_esign/client/api_client.py", line 354, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "/var/task/docusign_esign/client/api_client.py", line 184, in __call_api
return_data = self.deserialize(r, response_type)
File "/var/task/docusign_esign/client/api_client.py", line 264, in deserialize
return self.__deserialize(data, response_type)
File "/var/task/docusign_esign/client/api_client.py", line 307, in __deserialize
return self.__deserialize_model(data, klass)
File "/var/task/docusign_esign/client/api_client.py", line 657, in __deserialize_model
setattr(instance, attr, self.__deserialize(value, attr_type))
File "/var/task/docusign_esign/client/api_client.py", line 307, in __deserialize
return self.__deserialize_model(data, klass)
File "/var/task/docusign_esign/client/api_client.py", line 657, in __deserialize_model
setattr(instance, attr, self.__deserialize(value, attr_type))
File "/var/task/docusign_esign/client/api_client.py", line 294, in __deserialize
klass = getattr(client, klass)
AttributeError: module 'docusign_esign.client' has no attribute 'UserInfo'
module 'docusign_esign.client' has no attribute 'UserInfo'

simplified code

from docusign_esign import TemplatesApi
template_api = TemplatesApi(Template.api_client)
def function_in_question():
    return template_api.get(accountID, template_id).to_dict()
@gsnavin gsnavin added the issue label Jul 26, 2019
@excenter
Copy link
Author

Beyond just templates, I'm having issues around "module 'docusign_esign.client' has no attribute 'UserInfo'"

@LarryKlugerDS
Copy link
Contributor

Which Python version?
I have filed bug report DCM-3468

@excenter
Copy link
Author

excenter commented Aug 5, 2019

3.7.4 and 3.6.*

@nicksuslov
Copy link

Got the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants