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

Pyright complains about templates decorator #28

Open
Pshemas opened this issue Nov 21, 2024 · 0 comments
Open

Pyright complains about templates decorator #28

Pshemas opened this issue Nov 21, 2024 · 0 comments

Comments

@Pshemas
Copy link

Pshemas commented Nov 21, 2024

I'm trying to follow your course on building sites with FastAPI.

The code works, but Pyright complains about @template decorator.

obraz

I've tried fastapi-jinja and there it works without this warning. Is there something I could to to get rid of this?

obraz

As I'm learning I'd like to follow along with the tutorial and would prefer to avoid such "false positives".

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