Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for character (0.19 sec)

  1. tests/test_annotated.py

                    "msg": "String should have at least 1 character",
                    "type": "string_too_short",
                    "input": "",
                }
            )
            # TODO: remove when deprecating Pydantic v1
            | IsDict(
                {
                    "ctx": {"limit_value": 1},
                    "loc": ["query", "foo"],
                    "msg": "ensure this value has at least 1 characters",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/header-params.md

    Most of the standard headers are separated by a "hyphen" character, also known as the "minus symbol" (`-`).
    
    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ## Descripción avanzada desde el docstring
    
    Puedes limitar las líneas usadas desde el docstring de una *operación de path* para OpenAPI.
    
    Agregar un `\f` (un carácter de "form feed" escapado) hace que **FastAPI** trunque el output utilizada para OpenAPI en ese punto.
    
    No será mostrado en la documentación, pero otras herramientas (como Sphinx) serán capaces de usar el resto.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jul 04 12:49:31 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/query-params-str-validations.md

    * `^`: Inicia com os seguintes caracteres, ou seja, não contém caracteres anteriores.
    * `fixedquery`: contém o valor exato `fixedquery`.
    * `$`: termina aqui, não contém nenhum caractere após `fixedquery`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * 📝 Update docs for handling HTTP Basic Auth with `secrets.compare_digest()` to account for non-ASCII characters. PR [#3536](https://github.com/tiangolo/fastapi/pull/3536) by [@lewoudar](https://github.com/lewoudar).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  6. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ## Advanced description from docstring
    
    You can limit the lines used from the docstring of a *path operation function* for OpenAPI.
    
    Adding an `\f` (an escaped "form feed" character) causes **FastAPI** to truncate the output used for OpenAPI at this point.
    
    It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
    
    ```Python hl_lines="19-29"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/header-params.md

    ## Conversão automática
    
    `Header` tem algumas funcionalidades a mais em relação a `Path`, `Query` e `Cookie`.
    
    A maioria dos cabeçalhos padrão são separados pelo caractere "hífen", também conhecido como "sinal de menos" (`-`).
    
    Mas uma variável como `user-agent` é inválida em Python.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
        You could have custom internal logic to separate it by colon caracters (`:`) or
        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  9. docs/em/docs/tutorial/query-params-str-validations.md

        ```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"
        {!> ../../../docs_src/query_params_str_validations/tutorial004.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. fastapi/routing.py

                self.secure_cloned_response_field = None
            self.dependencies = list(dependencies or [])
            self.description = description or inspect.cleandoc(self.endpoint.__doc__ or "")
            # if a "form feed" character (page break) is found in the description text,
            # truncate description text to the content preceding the first "form feed"
            self.description = self.description.split("\f")[0].strip()
            response_fields = {}
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top