コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 8 of about 8 for structure (0.004 sec.)
Bigger Applications - Multiple Files 12688
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 ... can put everything in a single file. FastAPI provides a convenience tool to structure your application while keeping all the flexibility. Info If you come from Flask, this would be the equivalent of Flask's B ... lueprints. An example file structure Let's say you have a file structure like this: . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── route ... on 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 # this file makes "app" a "Python package" │ ├── ma ...
https://man.mtool.work/fastapi/0.115/tutorial/bigger-applications/
Custom Docs UI Static Assets (Self-Hosting) 11350
Custom Docs UI Static Assets (Self-Hosting) Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . The API docs use Swagger UI and ReDoc , and each of those need some Jav ... re you'll see how to serve those files yourself, in the same FastAPI app, and configure the docs to use them. Project file structure Let's say your project file structure looks like this: . ├── app │ ├── __init__.py │ ├── main.py Now create a directory to ... store those static files. Your new file structure could look like this: . ├── app │ ├── __init__.py │ ├── main.py └── static/ Download the files Download the static files n ... UI uses the files: swagger-ui-bundle.js swagger-ui.css And ReDoc uses the file: redoc.standalone.js After that, your file structure could look like: . ├── app │ ├── __init__.py │ ├── main.py └── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── ...
https://man.mtool.work/fastapi/0.115/how-to/custom-docs-ui-assets/
Global Dependencies 8693
Global Dependencies Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . For some types of applications you might want to add dependencies to the whole application. Sim ... ase, to all of the path operations in the app. Dependencies for groups of path operations Later, when reading about how to structure bigger applications ( Bigger Applications - Multiple Files ), possibly with multiple files, you will learn how to declare ...
https://man.mtool.work/fastapi/0.115/tutorial/dependencies/global-dependencies/
Async Tests 8368
Async Tests Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You have already seen how to test your FastAPI applications using the provided TestClient . Up to now, ... based on HTTPX , and luckily, we can use it directly to test the API. Example For a simple example, let's consider a file structure similar to the one described in Bigger Applications and Testing : . ├── app │ ├── __init__.py │ ├── main.py │ └── test_mai ...
https://man.mtool.work/fastapi/0.115/advanced/async-tests/
FastAPI CLI 8368
FastAPI CLI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI CLI is a command line program that you can use to serve your FastAPI app, manage your FastAPI p ... ound-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server ? Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files Importing from <font color="#75507B">/home/user/code/ ...
https://man.mtool.work/fastapi/0.115/fastapi-cli/
Development - Contributing 7699
Development - Contributing Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . First, you might want to see the basic ways to help FastAPI and get help . Developing If ... completion zsh completion installed in /home/user/.bashrc. Completion will take effect once you restart the terminal. Docs Structure The documentation uses MkDocs . And there are extra tools/scripts in place to handle translations in ./scripts/docs.py . T ...
https://man.mtool.work/fastapi/0.115/contributing/
Release Notes 7699
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... from solve_dependencies() using dataclasses. PR #12100 by @tiangolo . ♻️ Refactor and simplify internal analyze_param() to structure data with dataclasses instead of tuple. PR #12099 by @tiangolo . ♻️ Refactor and simplify dependencies data structures wit ... tapi/fastapi. PR #11913 by @tiangolo . ? Add docs about FastAPI team and project management. PR #11908 by @tiangolo . ? Re-structure docs main menu. PR #11904 by @tiangolo . ? Update Speakeasy URL. PR #11871 by @ndimares . Translations ? Update Portuguese ... riangb . Docs ? Add docs: Node.js script alternative to update OpenAPI for generated clients. PR #10845 by @alejsdev . ? Restructure Docs section in Contributing page. PR #10844 by @alejsdev . 0.106.0 Breaking Changes Using resources from dependencies wit ...
https://man.mtool.work/fastapi/0.115/release-notes/
Repository Management Tasks 7356
Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can ... low the instructions below. The PR doesn't add any additional or extraneous files. The translation seems to have a similar structure as the original English file. The translation doesn't seem to change the original content, for example with obvious additi ... onal documentation sections. The translation doesn't use different Markdown structures, for example adding HTML tags when the original didn't have them. The "admonition" sections, like tip , info , etc. are n ...
https://man.mtool.work/fastapi/0.115/management-tasks/
PREV 1 NEXT