- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 1,962 for fastapi (0.05 sec)
-
docs/em/docs/advanced/advanced-dependencies.md
{!../../docs_src/dependencies/tutorial011.py!} ``` ๐ ๐ผ, ๐ `__call__` โซ๏ธโ **FastAPI** ๐ โ๏ธ โ ๐ ๐ข & ๐ง-๐, & ๐ โซ๏ธโ ๐ ๐ค ๐ถโโ๏ธ ๐ฒ ๐ข ๐ *โก ๐ ๏ธ ๐ข* โช. ## ๐ ๐ & ๐, ๐ฅ ๐ช โ๏ธ `__init__` ๐ฃ ๐ข ๐ ๐ ๐ฅ ๐ช โ๏ธ "๐" ๐: ```Python hl_lines="7" {!../../docs_src/dependencies/tutorial011.py!} ``` ๐ ๐ผ, **FastAPI** ๐ ๐ซ โฑ ๐ โ๏ธ ๐ ๐ `__init__`, ๐ฅ ๐ โ๏ธ โซ๏ธ ๐ ๐ ๐. ## โ ๐ ๐ฅ ๐ช โ ๐ ๐ ๐ โฎ๏ธ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002.py
from typing import List, Union from fastapi import Depends, FastAPI, HTTPException, Query from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) class Hero(HeroBase, table=True): id: Union[int, None] = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.6K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, Query from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str = Field(index=True) age: int | None = Field(default=None, index=True) class Hero(HeroBase, table=True): id: int | None = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase): id: int
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/static-files.md
```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "ๆๆฏ็ป่" ไฝ ไนๅฏไปฅ็จ `from starlette.staticfiles import StaticFiles`ใ **FastAPI** ๆไพไบๅ `starlette.staticfiles` ็ธๅ็ `fastapi.staticfiles` ๏ผๅชๆฏไธบไบๆนไพฟไฝ ๏ผๅผๅ่ ใไฝๅฎ็กฎๅฎๆฅ่ชStarletteใ /// ### ไปไนๆฏ"ๆ่ฝฝ"(Mounting) "ๆ่ฝฝ" ่กจ็คบๅจ็นๅฎ่ทฏๅพๆทปๅ ไธไธชๅฎๅ จ"็ฌ็ซ็"ๅบ็จ๏ผ็ถๅ่ด่ดฃๅค็ๆๆๅญ่ทฏๅพใ ่ฟไธไฝฟ็จ`APIRouter`ไธๅ๏ผๅ ไธบๅฎ่ฃ ็ๅบ็จ็จๅบๆฏๅฎๅ จ็ฌ็ซ็ใOpenAPIๅๆฅ่ชไฝ ไธปๅบ็จ็ๆๆกฃไธไผๅ ๅซๅทฒๆ่ฝฝๅบ็จ็ไปปไฝไธ่ฅฟ็ญ็ญใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/ko/docs/python-types.md
/// **FastAPI**๋ ๋ชจ๋ Pydantic์ ๊ธฐ๋ฐ์ผ๋ก ๋์ด ์์ต๋๋ค. ์ด ๋ชจ๋ ๊ฒ์ด ์ค์ ๋ก ์ด๋ป๊ฒ ์ฌ์ฉ๋๋์ง์ ๋ํด์๋ [์์ต์ - ์ฌ์ฉ์ ์๋ด์](tutorial/index.md){.internal-link target=_blank} ์์ ๋ ๋ง์ด ํ์ธํ์ค ์ ์์ต๋๋ค. ## **FastAPI**์์์ ํ์ ํํธ **FastAPI**๋ ์ฌ๋ฌ ๋ถ๋ถ์์ ํ์ ํํธ์ ์ฅ์ ์ ์ทจํ๊ณ ์์ต๋๋ค. **FastAPI**์์ ํ์ ํํธ์ ํจ๊ป ๋งค๊ฐ๋ณ์๋ฅผ ์ ์ธํ๋ฉด ์ฅ์ ์: * **์๋ํฐ ๋์**. * **ํ์ ํ์ธ**. ...๊ทธ๋ฆฌ๊ณ **FastAPI**๋ ๊ฐ์ ์ ์๋ฅผ ์๋์๋ ์ ์ฉํฉ๋๋ค:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/metadata.md
# ๋ฉํ๋ฐ์ดํฐ ๋ฐ ๋ฌธ์ํ URL **FastAPI** ์์ฉ ํ๋ก๊ทธ๋จ์์ ๋ค์ํ ๋ฉํ๋ฐ์ดํฐ ๊ตฌ์ฑ์ ์ฌ์ฉ์ ๋ง์ถค ์ค์ ํ ์ ์์ต๋๋ค. ## API์ ๋ํ ๋ฉํ๋ฐ์ดํฐ OpenAPI ๋ช ์ธ ๋ฐ ์๋ํ๋ API ๋ฌธ์ UI์ ์ฌ์ฉ๋๋ ๋ค์ ํ๋๋ฅผ ์ค์ ํ ์ ์์ต๋๋ค: | ๋งค๊ฐ๋ณ์ | ํ์ | ์ค๋ช | |----------|------|-------| | `title` | `str` | API์ ์ ๋ชฉ์ ๋๋ค. | | `summary` | `str` | API์ ๋ํ ์งง์ ์์ฝ์ ๋๋ค. <small>OpenAPI 3.1.0, FastAPI 0.99.0๋ถํฐ ์ฌ์ฉ ๊ฐ๋ฅ</small> | | `description` | `str` | API์ ๋ํ ์งง์ ์ค๋ช ์ ๋๋ค. ๋งํฌ๋ค์ด์ ์ฌ์ฉํ ์ ์์ต๋๋ค. |
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/en/docs/about/index.md
# About
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 63 bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py
import pytest from fastapi.testclient import TestClient from tests.utils import needs_py39, needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial002_an_py39 import app client = TestClient(app) return client @needs_pydanticv2 @needs_py39 def test_post_body_form(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.body_fields.tutorial001_an_py310 import app client = TestClient(app) return client @needs_py310 def test_items_5(client: TestClient): response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py
from dirty_equals import IsDict from fastapi.testclient import TestClient from docs_src.request_files.tutorial001_02_an import app client = TestClient(app) def test_post_form_no_body(): response = client.post("/files/") assert response.status_code == 200, response.text assert response.json() == {"message": "No file sent"} def test_post_uploadfile_no_body(): response = client.post("/uploadfile/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.2K bytes - Viewed (0)