Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 38 for morto (0.02 seconds)

  1. docs/es/docs/tutorial/query-params-str-validations.md

    Por ejemplo, esto no está permitido:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...porque no está claro si el valor por defecto debería ser `"rick"` o `"morty"`.
    
    Así que utilizarías (preferentemente):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...o en code bases más antiguas encontrarás:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. lib/time/zoneinfo.zip

    Africa/Libreville Africa/Lome Africa/Luanda Africa/Lubumbashi Africa/Lusaka Africa/Malabo Africa/Maputo Africa/Maseru Africa/Mbabane Africa/Mogadishu Africa/Monrovia Africa/Nairobi Africa/Ndjamena Africa/Niamey Africa/Nouakchott Africa/Ouagadougou Africa/Porto-Novo Africa/Sao_Tome Africa/Timbuktu Africa/Tripoli Africa/Tunis Africa/Windhoek America/Adak America/Anchorage America/Anguilla America/Antigua America/Araguaina America/Argentina/Buenos_Aires America/Argentina/Catamarca America/Argentina/ComodRivadavia...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Dec 11 16:47:56 GMT 2025
    - 398.6K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    Par exemple, ceci n’est pas autorisé :
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... parce qu’il n’est pas clair si la valeur par défaut doit être « rick » ou « morty ».
    
    Donc, vous utiliseriez (de préférence) :
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. docs/es/docs/features.md

    Si necesitas un repaso de 2 minutos sobre cómo usar tipos en Python (aunque no uses FastAPI), revisa el tutorial corto: [Tipos en Python](python-types.md).
    
    Escribes Python estándar con tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declara una variable como un str
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/query-params-str-validations.md

    注意,当你在 `Annotated` 中使用 `Query` 时,不能再给 `Query` 传 `default` 参数。
    
    相反,应使用函数参数本身的实际默认值。否则会不一致。
    
    例如,下面这样是不允许的:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...因为不清楚默认值应该是 `"rick"` 还是 `"morty"`。
    
    因此,你应该这样用(推荐):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...或者在旧代码库中你会见到:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/query-params-str-validations.md

    대신 함수 매개변수의 실제 기본값을 사용하세요. 그렇지 않으면 일관성이 깨집니다.
    
    예를 들어, 다음은 허용되지 않습니다:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...왜냐하면 기본값이 `"rick"`인지 `"morty"`인지 명확하지 않기 때문입니다.
    
    따라서 (가능하면) 다음과 같이 사용합니다:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...또는 오래된 코드베이스에서는 다음과 같은 코드를 찾게 될 것입니다:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/query-params-str-validations.md

    その代わりに、関数パラメータの実際のデフォルト値を使います。そうしないと整合性が取れなくなります。
    
    例えば、これは許可されません:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...なぜなら、デフォルト値が `"rick"` なのか `"morty"` なのかが不明確だからです。
    
    そのため、(できれば)次のようにします:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...または、古いコードベースでは次のようなものが見つかるでしょう:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/sql-databases.md

    ///
    
    Este es un tutorial muy simple y corto, si deseas aprender sobre bases de datos en general, sobre SQL o más funcionalidades avanzadas, ve a la [documentación de SQLModel](https://sqlmodel.tiangolo.com/).
    
    ## Instalar `SQLModel` { #install-sqlmodel }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. docs/es/docs/index.md

    * **Fácil**: Diseñado para ser fácil de usar y aprender. Menos tiempo leyendo documentación.
    * **Corto**: Minimiza la duplicación de código. Múltiples funcionalidades desde cada declaración de parámetro. Menos bugs.
    * **Robusto**: Obtén código listo para producción. Con documentación interactiva automática.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
Back to Top