Results of 1 - 8 of about 8 for changes (0.010 sec.)
- Repository Management Tasks 12561
- 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
.... For example: ? Add Spanish translation for `docs/es/docs/teleporting.md` Once the PR is merged, a GitHub Action ( latest-changes ) will use the PR title to update the latest changes automatically. So, having a nice PR title will not only look nice in...GitHub, but also in the release notes. ? Add Labels to PRs The same GitHub Action latest-changes uses one label in the PR to decide the section in the release notes to put this PR in. Make sure you use a supported label...from the latest-changes list of labels : breaking : Breaking Changes Existing code will break if they update the version without changing their co... - https://man.mtool.work/fastapi/0.115/management-tasks/
- Development - Contributing 11242
- 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
...nstall all the requirements. Docs live During local development, there is a script that builds the site and checks for any changes, live-reloading: $ python ./scripts/docs.py live <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:800...8 <span style="color: green;">[INFO]</span> Start watching changes <span style="color: green;">[INFO]</span> Start detecting changes It will serve the documentation on http://127.0.0.1:8008.... That way, you can edit the documentation/source files and see the changes live. Tip Alternatively, you can perform the same steps that scripts does manually. Go into the language directory, for th... - https://man.mtool.work/fastapi/0.115/contributing/
- Release Notes 9398
- 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
...? Update docs preview script to show previous version and English version. PR #12856 by @tiangolo . ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR #12794 by @dependabot[bot] . ⬆ Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2. PR #12788 b...Kong. PR #12085 by @tiangolo . ⬆ [pre-commit.ci] pre-commit autoupdate. PR #12076 by @pre-commit-ci[bot] . ? Update latest-changes GitHub Action. PR #12073 by @tiangolo . 0.112.2 Fixes ? Fix allow_inf_nan option for Param and Body classes. PR #11867 by...6 by @tiangolo . ? Add alls-green for test-redistribute. PR #11974 by @tiangolo . ? Update docs-previews to handle no docs changes. PR #11975 by @tiangolo . ? Refactor script deploy_docs_status.py to account for deploy URLs with or without trailing slas... - https://man.mtool.work/fastapi/0.115/release-notes/
- FastAPI CLI 8440
- 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
...<b>fastapi run</b> Logs: <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span> Will watch for changes in these directories: <b>[</b><font color="#4E9A06">'/home/user/code/awesomeapp'</font><b>]</b> <span style="bac...stapi dev initiates development mode. By default, auto-reload is enabled, automatically reloading the server when you make changes to your code. This is resource-intensive and could be less stable than when it's disabled. You should only use it for deve... - https://man.mtool.work/fastapi/0.115/fastapi-cli/
- Virtual Environments 8260
- Virtual Environments Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . When you work in Python projects you probably should use a virtual environment (or a similar m
...t. $ echo "*" > .venv/.gitignore What that command means echo "*" : will "print" the text * in the terminal (the next part changes that a bit) > : anything printed to the terminal by the command to the left of > should not be printed but instead written...(prisoner-of-azkaban) --> |requires| harry-3 end Tip It's very common in Python packages to try the best to avoid breaking changes in new versions , but it's better to be safe, and install newer versions intentionally and when you can run the tests to c...nment instead of any other python (for example, a python from a global environment). Activating a virtual environment also changes a couple of other things, but this is one of the most important things it does. Checking a Virtual Environment When you ch... - https://man.mtool.work/fastapi/0.115/virtual-environments/
- Custom Request and APIRoute class 7645
- Custom Request and APIRoute class Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . In some cases, you may want to override the logic used by the Request and APIRout
...essary) before passing it to our path operations . After that, all of the processing logic is the same. But because of our changes in GzipRequest.body , the request body will be automatically decompressed when it is loaded by FastAPI when needed. Access... - https://man.mtool.work/fastapi/0.115/how-to/custom-request-and-route/
- SQL (Relational) Databases 7374
- SQL (Relational) Databases Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI doesn't require you to use a SQL (relational) database. But you can use any data
...) return { "ok" : True } Create a Session Dependency A Session is what stores the objects in memory and keeps track of any changes needed in the data, then it uses the engine to communicate with the database. We will create a FastAPI dependency with yie...{ "ok" : True } Here we use the SessionDep dependency (a Session ) to add the new Hero to the Session instance, commit the changes to the database, refresh the data in the hero , and then return it. Read Heroes We can read Hero s from the database using... - https://man.mtool.work/fastapi/0.115/tutorial/sql-databases/
- OAuth2 scopes 7302
- OAuth2 scopes Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can use OAuth2 scopes directly with FastAPI , they are integrated to work seamlessly. This would
...ead_system_status ( current_user : User = Depends ( get_current_user )): return { "status" : "ok" } Now let's review those changes step by step. OAuth2 Security scheme The first change is that now we are declaring the OAuth2 security scheme with two ava... - https://man.mtool.work/fastapi/0.115/advanced/security/oauth2-scopes/
PREV
1
NEXT