コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 5 of about 5 for level (0.003 sec.)
Sub Applications - Mounts 12703
Sub Applications - Mounts Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you need to have two independent FastAPI applications, with their own independent Open ... hat then takes care of handling everything under that path, with the path operations declared in that sub-application. Top-level application First, create the main, top-level, FastAPI application, and its path operations : Python 3.8+ from fastapi imp ... return { "message" : "Hello World from sub API" } app . mount ( "/subapi" , subapi ) Mount the sub-application In your top-level application, app , mount the sub-application, subapi . In this case, it will be mounted at the path /subapi : Python 3.8+ ...
https://man.mtool.work/fastapi/0.115/advanced/sub-applications/
Configure Swagger UI 9229
Configure Swagger UI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can configure some extra Swagger UI parameters . To configure them, pass the swagger_ui_pa ... == "authorization_code" ) && !oauth2.auth.code) { if (!isValid) { oauth2.errCb({ authId: oauth2.auth.name, source: "auth", level: "warning", message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned fr ... server. ") + (qp.error_uri ? "More info: "+qp.error_uri : ""); } oauth2.errCb({ authId: oauth2.auth.name, source: "auth", level: "error", message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server." }); } } else { oauth ...
https://man.mtool.work/fastapi/0.115/how-to/configure-swagger-ui/
Lifespan Events 8365
Lifespan Events Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can define logic (code) that should be executed before the application starts up . This means t ... ecause it has to read a lot of data from disk . So you don't want to do it for every request. You could load it at the top level of the module/file, but that would also mean that it would load the model even if you are just running a simple automated ...
https://man.mtool.work/fastapi/0.115/advanced/events/
Bigger Applications - Multiple Files 7923
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 ... e parent package (the directory app/ )... then go to the parent of that package (there's no parent package, app is the top level ?)... and in there, find the module dependencies (the file at app/dependencies.py )... and from it, import the function ge ...
https://man.mtool.work/fastapi/0.115/tutorial/bigger-applications/
Release Notes 7703
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 ... PR #12054 by @tiangolo . ? Add Asyncer mention in async docs. PR #12037 by @tiangolo . ? Move the Features docs to the top level to improve the main page menu. PR #12036 by @tiangolo . ✏️ Fix import typo in reference example for Security . PR #11168 b ... caelJarniac . ? Several docs improvements, tweaks, and clarifications. PR #11390 by @nilslindemann . ? Add missing compresslevel parameter on docs for GZipMiddleware . PR #11350 by @junah201 . ? Fix inconsistent response code when item already exists ... y docs only on docs changes. PR #9728 by @tiangolo . 0.98.0 Features ✨ Allow disabling redirect_slashes at the FastAPI app level. PR #3432 by @cyberlis . Docs ? Update docs on Pydantic using ujson internally. PR #5804 by @mvasilkov . ✏ Rewording in do ...
https://man.mtool.work/fastapi/0.115/release-notes/
PREV 1 NEXT