-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
Error mesage: 'int' object has no attribute 'items' when run example code #2247
Comments
Could you share the full exception stack? The message "During handling of the above exception, another exception occurred" hints for something else going on. |
You also cross-posted on Reddit and StackOverflow if I'm not mistaken. |
https://discord.com/channels/1089836369431498784/1189464339007156236/1189464339007156236 I had the same error and in the attached message I have a .txt attached with a full traceback |
Here is the txt in question so yall don't gotta hop platforms |
Thanks a lot, @DavidLeBonk! |
Wishing ya the best 👍 |
Yes! I found the root cause of the problem: |
Ah, who doesn't love it when a child library changes something seemingly small and it breaks the everything. npm moment |
Also @falkoschindler should I delete the discord post now to avoid clutter? |
@DavidLeBonk No, I think it's good to keep a reference to this issue so that other users can find it more easily. |
I noticed that the change in Starlette wasn't an issue, because FastAPI required an older version. Just last night FastAPI 0.108.0 was released, upgrading to Starlette >=0.29.0,<0.33.0. I already tried adding the |
We just released 1.4.8 with the needed fix. |
Nice, love to see the quick fixes ^-^ |
Description
I got error message: 'int' object has no attribute 'items'.
When run example code from home page.
Tried downgrade version but still got error message.
Code:
Error message:
The text was updated successfully, but these errors were encountered: