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

ImportError when import models from alibabacloud_dingtalk.doc_2_0 #9

Open
Fedomn opened this issue Oct 31, 2022 · 1 comment
Open

Comments

@Fedomn
Copy link

Fedomn commented Oct 31, 2022

We encounter ImportError when importing models from alibabacloud_dingtalk.doc_2_0.
SDK version: alibabacloud-dingtalk 1.4.61
Python version: 3.8.10

from alibabacloud_dingtalk.doc_2_0 import models

Error msg:

NameError: name 'DentryModel' is not defined

Maybe could add the following code at the head of https://github.com/aliyun/dingtalk-sdk/blob/master/dingtalk/python/alibabacloud_dingtalk/doc_2_0/models.py
file. But seems this file is auto-generated, I am not sure how to add this code. PTAL @sdk-team, @yndu13 thx.

from __future__ import annotations
@Fedomn
Copy link
Author

Fedomn commented Nov 13, 2022

Hi folks, could you please take a look at this issue? @sdk-team @yndu13 @peze

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

No branches or pull requests

1 participant