- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,929 for FastAPI (0.08 sec)
-
docs/pt/docs/deployment/cloud.md
# Implantar FastAPI em provedores de nuvem Vocรช pode usar praticamente **qualquer provedor de nuvem** para implantar seu aplicativo FastAPI. Na maioria dos casos, os principais provedores de nuvem tรชm guias para implantar o FastAPI com eles. ## Provedores de Nuvem - Patrocinadores
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Sep 21 21:37:48 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
/// info The <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a> package is automatically installed with **FastAPI** when you run the `pip install "fastapi[standard]"` command. However, if you use the `pip install fastapi` command, the `python-multipart` package is not included by default.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs_src/advanced_middleware/tutorial003.py
from fastapi import FastAPI from fastapi.middleware.gzip import GZipMiddleware app = FastAPI() app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5) @app.get("/") async def main():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:38:02 UTC 2024 - 230 bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
โ๏ธ ๐ซ ๐ ๐ข โฎ๏ธ ๐ `yield`. ๐ โซ๏ธโ **FastAPI** โ๏ธ ๐ ๐ โฎ๏ธ `yield`. โ๏ธ ๐ ๐ซ โ๏ธ โ๏ธ ๐จโ๐จ FastAPI ๐ (& ๐ ๐ซ๐ ๐ซ). FastAPI ๐ โซ๏ธ ๐ ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/vi/docs/tutorial/first-steps.md
`FastAPI` lร mแปt class kแบฟ thแปซa trแปฑc tiแบฟp `Starlette`. Bแบกn cลฉng cรณ thแป sแปญ dแปฅng tแบฅt cแบฃ <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> chแปฉc nฤng vแปi `FastAPI`. /// ### Bฦฐแปc 2: Tแบกo mแปt `FastAPI` "instance" ```Python hl_lines="3" {!../../docs_src/first_steps/tutorial001.py!} ``` Biแบฟn `app` nร y lร mแปt "instance" cแปงa class `FastAPI`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
docs_src/advanced_middleware/tutorial002.py
from fastapi import FastAPI from fastapi.middleware.trustedhost import TrustedHostMiddleware app = FastAPI() app.add_middleware( TrustedHostMiddleware, allowed_hosts=["example.com", "*.example.com"] ) @app.get("/") async def main():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 279 bytes - Viewed (0) -
docs/em/docs/advanced/response-cookies.md
โ๏ธ ๐คฏ ๐ ๐ฅ ๐ ๐จ ๐จ ๐ โฉ๏ธ โ๏ธ `Response` ๐ข, FastAPI ๐ ๐จ โซ๏ธ ๐. , ๐ ๐ โ๏ธ โ ๐ญ ๐ ๐ฝ โ ๐. ๐คถ โ. โซ๏ธ ๐ โฎ๏ธ ๐ป, ๐ฅ ๐ ๐ฌ `JSONResponse`. & ๐ ๐ ๐ซ ๐จ ๐ ๐ ๐ ๐ โ๏ธ โฝ `response_model`. /// ### ๐ โน /// note | "๐ก โน" ๐ ๐ช โ๏ธ `from starlette.responses import Response` โ๏ธ `from starlette.responses import JSONResponse`. **FastAPI** ๐ ๐ `starlette.responses` `fastapi.responses` ๐ช ๐, ๐ฉโ๐ป. โ๏ธ ๐ ๐ช ๐จ ๐ ๐ โช๏ธโก๏ธ ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_custom_schema_fields.py
from fastapi import FastAPI from fastapi._compat import PYDANTIC_V2 from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str if PYDANTIC_V2: model_config = { "json_schema_extra": { "x-something-internal": {"level": 4}, } } else: class Config: schema_extra = {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.2K bytes - Viewed (0) -
tests/test_additional_responses_default_validationerror.py
from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() @app.get("/a/{id}") async def a(id): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.8K bytes - Viewed (0) -
tests/test_duplicate_models_openapi.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Model(BaseModel): pass class Model2(BaseModel): a: Model class Model3(BaseModel): c: Model d: Model2 @app.get("/", response_model=Model3) def f(): return {"c": {}, "d": {"a": {}}} client = TestClient(app) def test_get_api_route():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0)