Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/TakeTwo-WebAPI
Load python modules correctly
未關閉
bug
stale
- 主要語言
- Python
- 星號
- 8
- 分支
- 8
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Describe the bug**
Finish #45. Please see here on how to load multiple files - https://fastapi.tiangolo.com/it/tutorial/bigger-applications/
Basically, you need empty __init__.py file to tell python that the folder is a module. You can then simply load as import root_folder.sub_folder.sub_folder.filename.
Context: https://github.com/Call-for-Code-for-Racial-Justice/TakeTwo-WebAPI/pull/45/files#r817986839
FYI @demilolu
貢獻指南
評估
這個 Issue 還沒有評估資料。