Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,653 for path1b (0.05 seconds)

  1. docs/ja/docs/tutorial/path-params-numeric-validations.md

    # パスパラメータと数値の検証
    
    クエリパラメータに対して`Query`でより多くのバリデーションとメタデータを宣言できるのと同じように、パスパラメータに対しても`Path`で同じ種類のバリデーションとメタデータを宣言することができます。
    
    ## Pathのインポート
    
    まず初めに、`fastapi`から`Path`をインポートします:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[1] *}
    
    ## メタデータの宣言
    
    パラメータは`Query`と同じものを宣言することができます。
    
    例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[8] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jan 04 10:53:58 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_generate_clients/test_tutorial004.py

    import importlib
    import json
    import pathlib
    from unittest.mock import patch
    
    from docs_src.generate_clients import tutorial003_py39
    
    
    def test_remove_tags(tmp_path: pathlib.Path):
        tmp_file = tmp_path / "openapi.json"
        openapi_json = tutorial003_py39.app.openapi()
        tmp_file.write_text(json.dumps(openapi_json))
    
        with patch("pathlib.Path", return_value=tmp_file):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/path-params-numeric-validations.md

    # Parâmetros de path e validações numéricas { #path-parameters-and-numeric-validations }
    
    Da mesma forma que você pode declarar mais validações e metadados para parâmetros de consulta com `Query`, você pode declarar o mesmo tipo de validações e metadados para parâmetros de path com `Path`.
    
    ## Importe `Path` { #import-path }
    
    Primeiro, importe `Path` de `fastapi`, e importe `Annotated`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. docs_src/generate_clients/tutorial004_py39.py

    import json
    from pathlib import Path
    
    file_path = Path("./openapi.json")
    openapi_content = json.loads(file_path.read_text())
    
    for path_data in openapi_content["paths"].values():
        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 493 bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ## Importer Path
    
    Tout d'abord, importez `Path` de `fastapi`, et importez `Annotated` :
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/test/", longBotName));
    
            // Test SpecialCharBot - special characters in paths
            assertFalse(robotsTxt.allows("/path with spaces/", "SpecialCharBot"));
            assertFalse(robotsTxt.allows("/path%20encoded/", "SpecialCharBot"));
            assertFalse(robotsTxt.allows("/path?query=value", "SpecialCharBot"));
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    En algunos casos realmente no necesitas el valor de retorno de una dependencia dentro de tu *path operation function*.
    
    O la dependencia no devuelve un valor.
    
    Pero aún necesitas que sea ejecutada/resuelta.
    
    Para esos casos, en lugar de declarar un parámetro de *path operation function* con `Depends`, puedes añadir una `list` de `dependencies` al decorador de *path operation*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operationデコレータの依存関係
    
    場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。
    
    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    {* ../../docs_src/dependencies/tutorial006.py hl[17] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Abhängigkeiten in Pfadoperation-Dekoratoren { #dependencies-in-path-operation-decorators }
    
    Manchmal benötigen Sie den Rückgabewert einer Abhängigkeit innerhalb Ihrer *Pfadoperation-Funktion* nicht wirklich.
    
    Oder die Abhängigkeit gibt keinen Wert zurück.
    
    Aber Sie müssen sie trotzdem ausführen/auflösen.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependencies in path operation decorators { #dependencies-in-path-operation-decorators }
    
    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top