コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 1 of about 1 for submodule (0.001 sec.)
Bigger Applications - Multiple Files 9414
Bigger Applications - Multiple Files Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you are building an application or a web API, it's rarely the case that you ... so it's a "Python subpackage": app.routers . The file app/routers/items.py is inside a package, app/routers/ , so, it's a submodule: app.routers.items . The same with app/routers/users.py , it's another submodule: app.routers.users . There's also a subdi ... other file __init__.py , so it's another "Python subpackage": app.internal . And the file app/internal/admin.py is another submodule: app.internal.admin . The same file structure with comments: . ├── app # "app" is a Python package │ ├── __init__.py # thi ... "routers" is a "Python subpackage" │ │ ├── __init__.py # makes "routers" a "Python subpackage" │ │ ├── items.py # "items" submodule, e.g. import app.routers.items │ │ └── users.py # "users" submodule, e.g. import app.routers.users │ └── internal # "inter ...
https://man.mtool.work/fastapi/0.115/tutorial/bigger-applications/
PREV 1 NEXT