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

Please improve stubs for fields.Date.(add|subract|etc....) #94

Open
brandon-blb opened this issue Feb 26, 2025 · 1 comment
Open

Please improve stubs for fields.Date.(add|subract|etc....) #94

brandon-blb opened this issue Feb 26, 2025 · 1 comment

Comments

@brandon-blb
Copy link

Hi. Currently I get the below IDE errors when using fields.Date.add

Image

It can be fixed by just making the attributes static methods in the stubs (like below):

Image

Thank you

@trinhanhngoc
Copy link
Member

Hello @brandon-blb ,

Sorry for the late reply, I missed your issue. Thank you for the report, I can reproduce the issue. The stubs are used in both PyCharm and VSCode, so I need to ensure it works with both IDEs. Please wait for the fix in the next version.

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

2 participants