Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for requer (0.03 sec)

  1. docs/zh-hant/llm-prompt.md

    ### Target language
    
    Translate to Traditional Chinese (繁體中文).
    
    Language code: zh-hant.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Traditional Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Traditional Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    
    ### Quotes and punctuation
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. docs/zh/llm-prompt.md

    ### Target language
    
    Translate to Simplified Chinese (简体中文).
    
    Language code: zh.
    
    ### Grammar and tone
    
    1) Use clear, concise technical Chinese consistent with existing docs.
    2) Address the reader naturally (commonly using “你/你的”).
    
    ### Headings
    
    1) Follow existing Simplified Chinese heading style (short and descriptive).
    2) Do not add trailing punctuation to headings.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. fastapi/datastructures.py

        """
        A file uploaded in a request.
    
        Define it as a *path operation function* (or dependency) parameter.
    
        If you are using a regular `def` function, you can use the `upload_file.file`
        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        if dependant.http_connection_param_name:
            values[dependant.http_connection_param_name] = request
        if dependant.request_param_name and isinstance(request, Request):
            values[dependant.request_param_name] = request
        elif dependant.websocket_param_name and isinstance(request, WebSocket):
            values[dependant.websocket_param_name] = request
        if dependant.background_tasks_param_name:
            if background_tasks is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  5. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.custom_request_and_route.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_endpoint_works(client: TestClient):
        response = client.post("/", json=[1, 2, 3])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_settings/test_tutorial001.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(name="app", params=[pytest.param("tutorial001_py39")])
    def get_app(request: pytest.FixtureRequest, monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        mod = importlib.import_module(f"docs_src.settings.{request.param}")
        return mod.app
    
    
    def test_settings(app):
        client = TestClient(app)
        response = client.get("/info")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 690 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.openapi_callbacks.{request.param}")
        return mod
    
    
    @pytest.fixture(name="client")
    def get_client(mod: ModuleType):
        client = TestClient(mod.app)
        client.headers.clear()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

            Doc(
                """
                By default, after a dependency is called the first time in a request, if
                the dependency is declared again for the rest of the request (for example
                if the dependency is needed by several dependencies), the value will be
                re-used for the rest of the request.
    
                Set `use_cache` to `False` to disable this behavior and ensure the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial004.py

    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
        "url,data",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dataclasses/test_tutorial002.py

    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_get_item(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top