Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 1,298 for done (0.03 seconds)

  1. tests/test_regex_deprecated_params.py

    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/items/")
            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. apache-maven/src/assembly/maven/conf/maven-user.properties

    # Format: RequestType { scope:SCOPE ref:REFERENCE_TYPE }
    #
    # SCOPE OPTIONS:
    #   session - Cache for entire Maven session (all modules in multi-module build)
    #   request - Cache only for current request + its child requests
    #   none    - Disable caching entirely
    #
    # REFERENCE OPTIONS:
    #   hard - Strong reference (stays in memory, faster access)
    #   soft - Weak reference (can be garbage collected under memory pressure)
    #
    # CONFIGURATION BREAKDOWN:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/testing-dependencies.md

    Hay algunos escenarios donde podrías querer sobrescribir una dependencia durante las pruebas.
    
    No quieres que la dependencia original se ejecute (ni ninguna de las sub-dependencias que pueda tener).
    
    En cambio, quieres proporcionar una dependencia diferente que se usará solo durante las pruebas (posiblemente solo algunas pruebas específicas), y que proporcionará un valor que pueda ser usado donde se usó el valor de la dependencia original.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_fields/test_tutorial001.py

        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    def test_items_6(client: TestClient):
        response = client.put(
            "/items/6",
            json={
                "item": {
                    "name": "Bar",
                    "price": 0.2,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. docs/ja/llm-prompt.md

    ### Target language
    
    Translate to Japanese (日本語).
    
    Language code: ja.
    
    ### Grammar and tone
    
    1) Use polite, instructional Japanese (です/ます調).
    2) Keep the tone concise and technical (match existing Japanese FastAPI docs).
    
    ### Headings
    
    1) Follow the existing Japanese style: short, descriptive headings (often noun phrases), e.g. 「チェック」.
    2) Do not add a trailing period at the end of headings.
    
    ### Quotes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 17:30:52 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. docs/ko/llm-prompt.md

    ### Target language
    
    Translate to Korean (한국어).
    
    Language code: ko.
    
    ### Grammar and tone
    
    1) Use polite, instructional Korean (e.g. 합니다/하세요 style).
    2) Keep the tone consistent with the existing Korean FastAPI docs.
    
    ### Headings
    
    1) Follow existing Korean heading style (short, action-oriented headings like “확인하기”).
    2) Do not add trailing punctuation to headings.
    
    ### Quotes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 17:32:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. ci/official/utilities/extract_resultstore_links.py

        url_lines = result_store_links.setdefault(url, {})
        # Each bazel RBE invocation should produce two
        # 'Streaming build results to: ...' lines, one at the start, and one at the
        # end of the invocation.
        # If there's a failure message, it will be found in-between these two.
    
        if not current_url:
          url_lines['start'] = i
        elif current_url == url:
          url_lines['end'] = i
        else:
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  8. docs/ru/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 32K bytes
    - Click Count (0)
  9. tests/test_request_params/test_header/test_required_str.py

            "detail": [
                {
                    "type": "missing",
                    "loc": ["header", "p_alias"],
                    "msg": "Field required",
                    "input": IsOneOf(None, IsPartialDict({"p": "hello"})),
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-alias",
            "/model-required-alias",
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/query-params.md

    ## Optionale Parameter { #optional-parameters }
    
    Auf die gleiche Weise können Sie optionale Query-Parameter deklarieren, indem Sie deren Defaultwert auf `None` setzen:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    In diesem Fall wird der Funktionsparameter `q` optional und standardmäßig `None` sein.
    
    /// check | Testen
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top