Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 487 for str (0.02 sec)

  1. docs/es/docs/tutorial/security/first-steps.md

    Si no ve un header `Authorization`, o el valor no tiene un token `Bearer `, responderá directamente con un error de código de estado 401 (`UNAUTHORIZED`).
    
    Ni siquiera tienes que verificar si el token existe para devolver un error. Puedes estar seguro de que si tu función se ejecuta, tendrá un `str` en ese token.
    
    Puedes probarlo ya en los docs interactivos:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Теги
    
    Вы можете добавлять теги к вашим *операциям пути*, добавив параметр `tags` с `list` заполненным `str`-значениями (обычно в нём только одна строка):
    
    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    Они будут добавлены в схему OpenAPI и будут использованы в автоматической документации интерфейса:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Ou como em Python 3.10 e versões superiores:
    
    ```Python
    q: str | None = None
    ```
    
    Por exemplo:
    
    {* ../../docs_src/body_multiple_params/tutorial004_py310.py hl[26] *}
    
    /// info | Informação
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-updates.md

    You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` is used to receive data that should replace the existing data.
    
    ### Warning about replacing { #warning-about-replacing }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Ou bien, en Python 3.10 et supérieur :
    
    ```Python
    q: str | None = None
    ```
    
    Par exemple :
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[27] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 11:10:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                        break;
                    case STRING:
                        final String str = (String) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), trimSpaceEnabled ? str.trim() : str));
                        break;
                    case NODESET:
                        final XPathNodes nodeList = (XPathNodes) xObj.value();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/custom-response.md

    ///
    
    ### `Response`
    
    👑 `Response` 🎓, 🌐 🎏 📨 😖 ⚪️➡️ ⚫️.
    
    👆 💪 📨 ⚫️ 🔗.
    
    ⚫️ 🚫 📄 🔢:
    
    * `content` - `str` ⚖️ `bytes`.
    * `status_code` - `int` 🇺🇸🔍 👔 📟.
    * `headers` - `dict` 🎻.
    * `media_type` - `str` 🤝 📻 🆎. 🤶 Ⓜ. `"text/html"`.
    
    FastAPI (🤙 💃) 🔜 🔁 🔌 🎚-📐 🎚. ⚫️ 🔜 🔌 🎚-🆎 🎚, ⚓️ 🔛 = & 🔁 = ✍ 🆎.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        public final void writeUTF(final String str) throws SmbException {
            final int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for (int i = 0; i < len; i++) {
                ch = str.charAt(i);
                size += ch > 0x07F ? ch > 0x7FF ? 3 : 2 : 1;
            }
            dst = new byte[size];
            writeShort(size);
            Encdec.enc_utf8(str, dst, 0, size);
            write(dst, 0, size);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/security/oauth2-scopes.md

    Para isso, nós atualizamos o modelo Pydantic `TokenData` com a nova propriedade `scopes`.
    
    Ao validar os dados com o Pydantic nós podemos garantir que temos, por exemplo, exatamente uma `list` de `str` com os escopos e uma `str` com o `username`.
    
    No lugar de, por exemplo, um `dict`, ou alguma outra coisa, que poderia quebrar a aplicação em algum lugar mais tarde, tornando isso um risco de segurança.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    * Se o parâmetro é de um **tipo único** (como `int`, `float`, `str`, `bool`, etc) será interpretado como um parâmetro de **consulta**.
    * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição.
    
    /// note | Observação
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top