Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 1,096 for sltr (0.02 seconds)

  1. docs/zh-hant/docs/tutorial/response-model.md

    你的回應模型可能有預設值,例如:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None`(或在 Python 3.10 中的 `str | None = None`)預設為 `None`。
    * `tax: float = 10.5` 預設為 `10.5`。
    * `tags: List[str] = []` 預設為空的 list:`[]`。
    
    但如果這些值其實沒有被儲存,你可能想要在結果中省略它們。
    
    例如,如果你在 NoSQL 資料庫中有包含許多選擇性屬性的模型,但你不想傳送充滿預設值的冗長 JSON 回應。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. src/bytes/buffer_test.go

    func check(t *testing.T, testname string, buf *Buffer, s string) {
    	bytes := buf.Bytes()
    	str := buf.String()
    	if buf.Len() != len(bytes) {
    		t.Errorf("%s: buf.Len() == %d, len(buf.Bytes()) == %d", testname, buf.Len(), len(bytes))
    	}
    
    	if buf.Len() != len(str) {
    		t.Errorf("%s: buf.Len() == %d, len(buf.String()) == %d", testname, buf.Len(), len(str))
    	}
    
    	if buf.Len() != len(s) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/security/http-basic-auth.md

    Para isso, utilize o módulo padrão do Python [`secrets`](https://docs.python.org/3/library/secrets.html) para verificar o usuário e senha.
    
    O `secrets.compare_digest()` necessita receber `bytes` ou `str` que possuem apenas caracteres ASCII (os em inglês). Isso significa que não funcionaria com caracteres como o `á`, como em `Sebastián`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. docs/ru/docs/_llm-test.md

    ////
    
    ## Термины, используемые в документации { #terms-used-in-the-docs }
    
    //// tab | Тест
    
    * вы
    * ваш
    
    * например
    * и т.д.
    
    * `foo` как `int`
    * `bar` как `str`
    * `baz` как `list`
    
    * Учебник — Руководство пользователя
    * Расширенное руководство пользователя
    * Документация по SQLModel
    * Документация API
    * Автоматическая документация
    
    * Наука о данных
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            case SMB2_SET_INFO -> "SMB2_SET_INFO";
            case SMB2_OPLOCK_BREAK -> "SMB2_OPLOCK_BREAK";
            default -> "UNKNOWN";
            };
            final String str = this.status == 0 ? "0" : SmbException.getMessageByCode(this.status);
            return ("command=" + c + ",status=" + str + ",flags=0x" + Hexdump.toHexString(this.flags, 4) + ",mid=" + this.mid + ",wordCount="
                    + this.wordCount + ",byteCount=" + this.byteCount);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/dependencies/index.md

    Y puede devolver lo que quieras.
    
    En este caso, esta dependencia espera:
    
    * Un parámetro de query opcional `q` que es un `str`.
    * Un parámetro de query opcional `skip` que es un `int`, y por defecto es `0`.
    * Un parámetro de query opcional `limit` que es un `int`, y por defecto es `100`.
    
    Y luego solo devuelve un `dict` que contiene esos valores.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Astuce
    
    Lorsque vous levez une `HTTPException`, vous pouvez passer n'importe quelle valeur convertible en JSON comme paramètre `detail`, pas uniquement un `str`.
    
    Vous pouvez passer un `dict`, une `list`, etc.
    
    Elles sont gérées automatiquement par **FastAPI** et converties en JSON.
    
    ///
    
    ## Ajouter des en-têtes personnalisés { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. docs/tr/docs/_llm-test.md

    ////
    
    ## Dokümanlarda kullanılan terimler { #terms-used-in-the-docs }
    
    //// tab | Test
    
    * siz
    * sizin
    
    * örn.
    * vb.
    
    * `foo` bir `int` olarak
    * `bar` bir `str` olarak
    * `baz` bir `list` olarak
    
    * Tutorial - Kullanıcı kılavuzu
    * İleri Düzey Kullanıcı Kılavuzu
    * SQLModel dokümanları
    * API dokümanları
    * otomatik dokümanlar
    
    * Veri Bilimi
    * Deep Learning
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/body-multiple-params.md

    Comme, par défaut, les valeurs singulières sont interprétées comme des paramètres de requête, vous n'avez pas besoin d'ajouter explicitement `Query`, vous pouvez simplement écrire :
    
    ```Python
    q: str | None = None
    ```
    
    Par exemple :
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. tests/test_application.py

                                    "name": "item_id",
                                    "in": "path",
                                }
                            ],
                        }
                    },
                    "/path/str/{item_id}": {
                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
Back to Top