foss42 / api

Open Source APIs
https://api.apidash.dev/docs
Apache License 2.0
52 stars 26 forks source link

Resolve Naming Conflict with Built-in io Module #23

Closed deepashri30 closed 2 months ago

deepashri30 commented 2 months ago

I encountered an issue while trying to run the FastAPI application named io.py. in routes/io The error message indicates that Uvicorn cannot find the io_router attribute in the io module, which is likely due to a naming conflict with the built-in io module from the Python standard library. To resolve this issue, we need to rename the FastAPI application file from io.py to something else, for example, app.py, to avoid the naming conflict with the built-in io module.

animator commented 2 months ago

Have you followed the instructions provided here. We have not noticed any conflicts. Raise a new issue with video recording showing the steps and conflict.