Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for regex (0.14 sec)

  1. fastapi/params.py

                        "strict": strict,
                        "json_schema_extra": current_json_schema_extra,
                    }
                )
                kwargs["pattern"] = pattern or regex
            else:
                kwargs["regex"] = pattern or regex
                kwargs.update(**current_json_schema_extra)
            use_kwargs = {k: v for k, v in kwargs.items() if v is not _Unset}
    
            super().__init__(**use_kwargs)
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial003.py!}
    ```
    
    ## Ajouter des validations par expressions régulières
    
    On peut définir une <abbr title="Une expression régulière, regex ou regexp est une suite de caractères qui définit un pattern de correspondance pour les chaînes de caractères.">expression régulière</abbr> à laquelle le paramètre doit correspondre :
    
    ```Python hl_lines="10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/query-params-str-validations.md

    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_py310.py!}
        ```
    
    ## 🚮 🥔 🧬
    
    👆 💪 🔬 <abbr title="A regular expression, regex or regexp is a sequence of characters that define a search pattern for strings.">🥔 🧬</abbr> 👈 🔢 🔜 🏏:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. tests/test_security_oauth2_optional.py

            {
                "detail": [
                    {
                        "loc": ["body", "grant_type"],
                        "msg": 'string does not match regex "password"',
                        "type": "value_error.str.regex",
                        "ctx": {"pattern": "password"},
                    }
                ]
            }
        )
    
    
    def test_strict_login_correct_data():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    Aber wenn Sie sie brauchen und sie lernen, wissen Sie, dass Sie sie bereits direkt in **FastAPI** verwenden können.
    
    ### Pydantic v1 `regex` statt `pattern`
    
    Vor Pydantic Version 2 und vor FastAPI Version 0.100.0, war der Name des Parameters `regex` statt `pattern`, aber das ist jetzt <abbr title="deprecated – obsolet, veraltet: Es soll nicht mehr verwendet werden">deprecated</abbr>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  6. docs/en/docs/contributing.md

    * However, when a Markdown document is translated, the `#hash-parts` in links to its headings may change. Update these links if possible.
        * Search for such links in the translated document using the regex `#[^# ]`.
        * Search in all documents already translated into your language for `your-translated-document.md`. For example VS Code has an option "Edit" -> "Find in Files".
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/query-params-str-validations.md

    ## まとめ
    
    パラメータに追加のバリデーションとメタデータを宣言することができます。
    
    一般的なバリデーションとメタデータ:
    
    * `alias`
    * `title`
    * `description`
    * `deprecated`
    
    文字列のためのバリデーション:
    
    * `min_length`
    * `max_length`
    * `regex`
    
    この例では、`str`の値のバリデーションを宣言する方法を見てきました。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  8. docs/pl/docs/index.md

    * Deklaracje **parametrów** z innych miejsc takich jak: **nagłówki**, **pliki cookies**, **formularze** i **pliki**.
    * Jak ustawić **ograniczenia walidacyjne** takie jak `maksymalna długość` lub `regex`.
    * Potężny i łatwy w użyciu system **<abbr title="znane jako komponenty, resources, providers, services, injectables">Dependency Injection</abbr>**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  9. docs/ru/docs/index.md

    * Объявление **параметров** из других мест, таких как: **заголовки**, **cookies**, **поля формы** и **файлы**.
    * Как установить **ограничительные проверки** такие как `maximum_length` или `regex`.
    * Очень мощная и простая в использовании система **<abbr title="также известная как компоненты, ресурсы, провайдеры, сервисы, инъекции">внедрения зависимостей</abbr>**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. docs/it/docs/index.md

    * Dichiarazione di **parameters** da altri posti diversi come: **headers**, **cookies**, **form fields** e **files**.
    * Come stabilire **vincoli di validazione** come `maximum_length` o `regex`.
    * Un sistema di **<abbr title="detto anche components, resources, providers, services, injectables">Dependency Injection</abbr>** facile da usare e molto potente.
    e potente.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top