- Sort Score
- Num 10 results
- Language All
Results 1021 - 1030 of 1,916 for FastApi (0.06 seconds)
-
tests/test_openapi_separate_input_output_schemas.py
from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, computed_field class SubItem(BaseModel): subname: str sub_description: Optional[str] = None tags: list[str] = [] model_config = {"json_schema_serialization_defaults_required": True} class Item(BaseModel): name: str
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 26.6K bytes - Click Count (0) -
docs/fr/docs/learn/index.md
# Apprendre Voici les sections introductives et les tutoriels pour apprendre **FastAPI**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Jun 20 19:09:17 GMT 2024 - 231 bytes - Click Count (0) -
tests/test_dependency_wrapped.py
import inspect import sys from collections.abc import AsyncGenerator, Generator from functools import wraps import pytest from fastapi import Depends, FastAPI from fastapi.concurrency import iterate_in_threadpool, run_in_threadpool from fastapi.testclient import TestClient if sys.version_info >= (3, 13): # pragma: no cover from inspect import iscoroutinefunction else: # pragma: no cover from asyncio import iscoroutinefunction
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/en/docs/external-links.md
# External Links **FastAPI** has a great community constantly growing. There are many posts, articles, tools, and projects, related to **FastAPI**. You could easily use a search engine or video platform to find many resources related to FastAPI. /// info Before, this page used to list links to external articles.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 12:28:40 GMT 2025 - 917 bytes - Click Count (0) -
docs/pt/docs/tutorial/response-status-code.md
<img src="/img/tutorial/response-status-code/image02.png"> /// note | Detalhes Técnicos Você também pode usar `from starlette import status`. **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente da Starlette. /// ## Alterando o padrão { #changing-the-default }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
Durch die Verwendung von `Security` anstelle von `Depends` weiß **FastAPI** jedoch, dass es Sicherheits-Scopes deklarieren, intern verwenden und die API mit OpenAPI dokumentieren kann. Wenn Sie jedoch `Query`, `Path`, `Depends`, `Security` und andere von `fastapi` importieren, handelt es sich tatsächlich um Funktionen, die spezielle Klassen zurückgeben. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 15.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/debugging.md
/// ## 디버거로 코드 실행 코드에서 직접 Uvicorn 서버를 실행하고 있기 때문에 디버거에서 직접 Python 프로그램(FastAPI 애플리케이션)을 호출할 수 있습니다. --- 예를 들어 Visual Studio Code에서 다음을 수행할 수 있습니다. * "Debug" 패널로 이동합니다. * "Add configuration...". * "Python"을 선택합니다. * "`Python: Current File (Integrated Terminal)`" 옵션으로 디버거를 실행합니다. 그런 다음 **FastAPI** 코드로 서버를 시작하고 중단점 등에서 중지합니다. 다음과 같이 표시됩니다. <img src="/img/tutorial/debugging/image01.png">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.7K bytes - Click Count (0) -
tests/test_tutorial/test_using_request_directly/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.using_request_directly.tutorial001_py39 import app client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"client_host": "testclient", "item_id": "foo"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/en/docs/reference/templating.md
You can use the `Jinja2Templates` class to render Jinja templates. Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 365 bytes - Click Count (0) -
docs/ko/docs/benchmarks.md
계층 구조는 다음과 같습니다: * **Uvicorn**: ASGI 서버 * **Starlette**: (Uvicorn 사용) 웹 마이크로 프레임워크 * **FastAPI**: (Starlette 사용) API 구축을 위한 데이터 검증 등 여러 추가 기능이 포함된 API 마이크로 프레임워크 * **Uvicorn**: * 서버 자체 외에는 많은 추가 코드가 없기 때문에 최고의 성능을 발휘합니다. * 직접 Uvicorn으로 응용 프로그램을 작성하지는 않을 것입니다. 즉, 사용자의 코드에는 적어도 Starlette(또는 **FastAPI**)에서 제공하는 모든 코드가 포함되어야 합니다. 그렇게 하면 최종 응용 프로그램은 프레임워크를 사용하고 앱 코드와 버그를 최소화하는 것과 동일한 오버헤드를 갖게 됩니다.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Oct 27 15:01:38 GMT 2024 - 4K bytes - Click Count (0)