Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,086 for FastAPI (0.29 seconds)

  1. tests/test_response_dependency.py

    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    def test_response_with_depends_annotated():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. docs/uk/docs/index.md

    </a>
    <a href="https://pypi.org/project/fastapi">
        <img src="https://img.shields.io/pypi/pyversions/fastapi.svg?color=%2334D058" alt="Supported Python versions">
    </a>
    </p>
    
    ---
    
    **Документація**: [https://fastapi.tiangolo.com](https://fastapi.tiangolo.com/uk)
    
    **Вихідний код**: [https://github.com/fastapi/fastapi](https://github.com/fastapi/fastapi)
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  3. tests/test_deprecated_responses.py

    import warnings
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.responses import ORJSONResponse, UJSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    # ORJSON
    
    
    def _make_orjson_app() -> FastAPI:
        with warnings.catch_warnings():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/project-generation.md

    # 全端 FastAPI 範本 { #full-stack-fastapi-template }
    
    範本通常附帶特定的設定,但設計上具有彈性且可自訂。這讓你可以依專案需求調整與擴充,因此非常適合作為起點。🏁
    
    你可以使用此範本快速起步,裡面已替你完成大量初始設定、安全性、資料庫,以及部分 API 端點。
    
    GitHub 儲存庫:[全端 FastAPI 範本](https://github.com/tiangolo/full-stack-fastapi-template)
    
    ## 全端 FastAPI 範本 - 技術堆疊與功能 { #full-stack-fastapi-template-technology-stack-and-features }
    
    - ⚡ [**FastAPI**](https://fastapi.tiangolo.com/zh-hant) 作為 Python 後端 API。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Then, in **FastAPI**, you could use a Python class as a dependency.
    
    What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. docs/zh/docs/index.md

    <a href="https://pypi.org/project/fastapi">
        <img src="https://img.shields.io/pypi/pyversions/fastapi.svg?color=%2334D058" alt="Supported Python versions">
    </a>
    </p>
    
    ---
    
    **文档**: [https://fastapi.tiangolo.com/zh](https://fastapi.tiangolo.com/zh)
    
    **源码**: [https://github.com/fastapi/fastapi](https://github.com/fastapi/fastapi)
    
    ---
    
    FastAPI 是一个用于构建 API 的现代、快速(高性能)的 Web 框架,使用 Python 并基于标准的 Python 类型提示。
    
    关键特性:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  7. docs/ko/docs/project-generation.md

    # Full Stack FastAPI 템플릿 { #full-stack-fastapi-template }
    
    템플릿은 일반적으로 특정 설정과 함께 제공되지만, 유연하고 커스터마이징이 가능하게 디자인 되었습니다. 이 특성들은 여러분이 프로젝트의 요구사항에 맞춰 수정, 적용을 할 수 있게 해주고, 템플릿이 완벽한 시작점이 되게 해줍니다. 🏁
    
    많은 초기 설정, 보안, 데이터베이스 및 일부 API 엔드포인트가 이미 준비되어 있으므로, 여러분은 이 템플릿을 시작하는 데 사용할 수 있습니다.
    
    GitHub 저장소: [Full Stack FastAPI 템플릿](https://github.com/tiangolo/full-stack-fastapi-template)
    
    ## Full Stack FastAPI 템플릿 - 기술 스택과 기능들 { #full-stack-fastapi-template-technology-stack-and-features }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/docker.md

    You will see the alternative automatic documentation (provided by [ReDoc](https://github.com/Rebilly/ReDoc)):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Build a Docker Image with a Single-File FastAPI { #build-a-docker-image-with-a-single-file-fastapi }
    
    If your FastAPI is a single file, for example, `main.py` without an `./app` directory, your file structure could look like this:
    
    ```
    .
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  9. docs/zh/docs/editor-support.md

    官方的 [FastAPI 扩展](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode)为你的 FastAPI 开发流程带来增强,包括*路径操作*的发现与导航、部署到 FastAPI Cloud,以及实时日志流式传输。
    
    有关该扩展的更多详情,请参阅其 [GitHub 仓库](https://github.com/fastapi/fastapi-vscode)中的 README。
    
    ## 安装与配置 { #setup-and-installation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/editor-support.md

    官方的 [FastAPI 擴充套件](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) 透過支援路徑操作(path operation)探索、導覽,以及 FastAPI Cloud 部署與即時日誌串流,強化你的 FastAPI 開發流程。
    
    想了解更多關於此擴充套件的細節,請參考其 [GitHub 儲存庫](https://github.com/fastapi/fastapi-vscode) 中的 README。
    
    ## 安裝與設定 { #setup-and-installation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top