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

list[dict] TypeError: 'type' object is not subscriptable #1

Open
sevimcengiz opened this issue Nov 16, 2023 · 1 comment
Open

list[dict] TypeError: 'type' object is not subscriptable #1

sevimcengiz opened this issue Nov 16, 2023 · 1 comment

Comments

@sevimcengiz
Copy link

That's the issue I've faced:
list[dict] TypeError: 'type' object is not subscriptable in line 135 at main.py.

I tried to solve it
adding "from typing import List, Dict"
and changing all list[dict] to this " List[Dict[str, str]]".

However, faced another issue:

  • Running on http://127.0.0.1:5000
    Press CTRL+C to quit
    127.0.0.1 - - [16/Nov/2023 21:59:24] "GET / HTTP/1.1" 404 -
    127.0.0.1 - - [16/Nov/2023 21:59:35] "GET / HTTP/1.1" 404 -
    127.0.0.1 - - [16/Nov/2023 21:59:42] "GET / HTTP/1.1" 404 -
    127.0.0.1 - - [16/Nov/2023 21:59:46] "GET / HTTP/1.1" 404 -

"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."

@i-corvalan
Copy link

have the same issue

Repository owner deleted a comment from rafly2103 Feb 15, 2024
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