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

📚 Documentation: Account function being used without importing. #84

Closed
2 tasks done
ayaan-qadri opened this issue May 2, 2024 · 3 comments · Fixed by appwrite/sdk-generator#1022 or appwrite/website#1699
Closed
2 tasks done
Assignees

Comments

@ayaan-qadri
Copy link

💭 Description

The Account function is used in the account's example, but it is not imported there, unlike Client, which is imported. This issue is not specific to one example; rather, all account examples lack the import of the Account module.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ayaan-qadri
Copy link
Author

(CODE_OF_CONDUCT.md file is not available there)

@Shriniwas18K
Copy link

can i handle it

@stnguyen90
Copy link
Contributor

It looks like when we added enums, we accidentally deleted that import.

I think we just need to add:

from {{ spec.title | caseSnake }}.services.{{ service.name | caseSnake }} import {{ service.name | caseUcfirst }}

back to the example template.

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