Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 1,977 for Fastapi (0.05 sec)

  1. docs/em/docs/deployment/index.md

    # ๐Ÿ› ๏ธ
    
    ๐Ÿ› ๏ธ **FastAPI** ๐Ÿˆธ ๐Ÿ“ถ โฉ.
    
    ## โšซ๏ธโ” ๐Ÿ”จ ๐Ÿ› ๏ธ โ›“
    
    **๐Ÿ› ๏ธ** ๐Ÿˆธ โ›“ ๐ŸŽญ ๐Ÿ’ช ๐Ÿ“ถ โš’ โšซ๏ธ **๐Ÿ’ช ๐Ÿ‘ฉโ€๐Ÿ’ป**.
    
    **๐Ÿ•ธ ๐Ÿ› ๏ธ**, โšซ๏ธ ๐Ÿ›Ž ๐Ÿ”Œ ๐Ÿšฎ โšซ๏ธ **๐Ÿ›ฐ ๐ŸŽฐ**, โฎ๏ธ **๐Ÿ’ฝ ๐Ÿ“‹** ๐Ÿ‘ˆ ๐Ÿšš ๐Ÿ‘ ๐ŸŽญ, โš–, โ™’๏ธ, ๐Ÿ‘ˆ ๐Ÿ‘† **๐Ÿ‘ฉโ€๐Ÿ’ป** ๐Ÿ’ช **๐Ÿ”** ๐Ÿˆธ โ™ป & ๐Ÿต ๐Ÿ” โš–๏ธ โš .
    
    ๐Ÿ‘‰ ๐Ÿ”… **๐Ÿ› ๏ธ** โ–ถ๏ธ, ๐ŸŒโ” ๐Ÿ‘† ๐Ÿ•ง ๐Ÿ”€ ๐Ÿ“Ÿ, ๐Ÿ’” โšซ๏ธ & โ™ป โšซ๏ธ, โ›”๏ธ & ๐Ÿ” ๐Ÿ› ๏ธ ๐Ÿ’ฝ, โ™’๏ธ.
    
    ## ๐Ÿ› ๏ธ ๐ŸŽ›
    
    ๐Ÿ“ค ๐Ÿ“š ๐ŸŒŒ โšซ๏ธ โš“๏ธ ๐Ÿ”› ๐Ÿ‘† ๐ŸŽฏ โš™๏ธ ๐Ÿ’ผ & ๐Ÿงฐ ๐Ÿ‘ˆ ๐Ÿ‘† โš™๏ธ.
    
    ๐Ÿ‘† ๐Ÿ’ช **๐Ÿ› ๏ธ ๐Ÿ’ฝ** ๐Ÿ‘† โš™๏ธ ๐ŸŒ€ ๐Ÿงฐ, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ **โ˜ ๐Ÿ•โ€๐Ÿฆบ** ๐Ÿ‘ˆ ๐Ÿ”จ ๐Ÿ• ๐Ÿ‘ท ๐Ÿ‘†, โš–๏ธ ๐ŸŽ ๐Ÿ’ช ๐ŸŽ›.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 24 14:47:15 UTC 2023
    - 921 bytes
    - Viewed (0)
  2. fastapi/dependencies/models.py

    from dataclasses import dataclass, field
    from typing import Any, Callable, List, Optional, Sequence, Tuple
    
    from fastapi._compat import ModelField
    from fastapi.security.base import SecurityBase
    
    
    @dataclass
    class SecurityRequirement:
        security_scheme: SecurityBase
        scopes: Optional[Sequence[str]] = None
    
    
    @dataclass
    class Dependant:
        path_params: List[ModelField] = field(default_factory=list)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/encoder.md

    Existem alguns casos em que vocรช pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatรญvel com JSON (como um `dict`, `list`, etc).
    
    Por exemplo, se vocรช precisar armazenรก-lo em um banco de dados.
    
    Para isso, **FastAPI** fornece uma funรงรฃo `jsonable_encoder()`.
    
    ## Usando a funรงรฃo `jsonable_encoder`
    
    Vamos imaginar que vocรช tenha um banco de dados `fake_db` que recebe apenas dados compatรญveis com JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_py310.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial003_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_post_user(client: TestClient):
        response = client.post(
            "/user/",
            json={
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial004_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.dependencies.tutorial004_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.extra_data_types.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_extra_types():
        item_id = "ff97dd87-a4a5-4a12-b412-cde99f33e00e"
        data = {
            "start_datetime": "2018-12-22T14:00:00+00:00",
            "end_datetime": "2018-12-24T15:00:00+00:00",
            "repeat_at": "15:30:00",
            "process_after": 300,
        }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_py310/main.py

    from fastapi import FastAPI, Header, HTTPException
    from pydantic import BaseModel
    
    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:44:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs/ja/docs/deployment/docker.md

    * <a href="https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker" class="external-link" target="_blank">tiangolo/uvicorn-gunicorn-fastapi</a>.
    
    /// warning
    
    ใ“ใฎใƒ™ใƒผใ‚นใ‚คใƒกใƒผใ‚ธใ‚„้กžไผผใฎใ‚คใƒกใƒผใ‚ธใฏ**ๅฟ…่ฆใชใ„**ๅฏ่ƒฝๆ€งใŒ้ซ˜ใ„ใฎใงใ€[ไธŠ่จ˜ใฎ: FastAPI็”จใฎDockerใ‚คใƒกใƒผใ‚ธใ‚’ใƒ“ใƒซใƒ‰ใ™ใ‚‹๏ผˆBuild a Docker Image for FastAPI๏ผ‰](#build-a-docker-image-for-fastapi)ใฎใ‚ˆใ†ใซใ‚ผใƒญใ‹ใ‚‰ใ‚คใƒกใƒผใ‚ธใ‚’ใƒ“ใƒซใƒ‰ใ™ใ‚‹ๆ–นใŒ่‰ฏใ„ใงใ—ใ‚‡ใ†ใ€‚
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/encoder.md

    Zum Beispiel, wenn Sie es in einer Datenbank speichern mรถchten.
    
    Dafรผr bietet **FastAPI** eine Funktion `jsonable_encoder()`.
    
    ## `jsonable_encoder` verwenden
    
    Stellen wir uns vor, Sie haben eine Datenbank `fake_db`, die nur JSON-kompatible Daten entgegennimmt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_response_model/test_tutorial004_py310.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial004_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top