Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 166 for rica (0.04 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

                "X-Token": "fake-super-secret-token",
                "X-Key": "fake-super-secret-key",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...потому что нельзя однозначно определить, что именно должно быть значением по умолчанию: `"rick"` или `"morty"`.
    
    Вам следует использовать (предпочтительно):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...или как в старом коде, который вам может попасться:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
     * before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to query the
     * details of the failure.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_9.txt

        --hash=sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a
        # via rich
    requests==2.32.3 \
        --hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \
        --hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
        # via -r ci/official/requirements_updater/requirements.in
    rich==13.7.1 \
        --hash=sha256:4edbae314f59eb482f54e9e30bf00d33350aaa94f4bfcd4e9e3110e64d0d7222 \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 14:33:43 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ... denn es wird nicht klar, ob der Defaultwert `"rick"` oder `"morty"` sein soll.
    
    Sie würden also (bevorzugt) schreiben:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    In älterem Code werden Sie auch finden:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Vorzüge von `Annotated`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/templates.md

    Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.
    
    Além disso, em versões anteriores, o objeto `request` era passado como parte dos pares chave-valor no "context" dict para o Jinja2.
    
    ///
    
    /// tip | "Dica"
    
    Ao declarar `response_class=HTMLResponse`, a documentação entenderá que a resposta será HTML.
    
    ///
    
    /// note | "Detalhes Técnicos"
    
    Você também poderia usar `from starlette.templating import Jinja2Templates`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs/it/docs/index.md

    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    Se stai sviluppando un'app <abbr title="Command Line Interface (interfaccia della riga di comando)">CLI</abbr> da usare nel terminale invece che una web API, ti consigliamo <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">**Typer**</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py

                "X-Token": "fake-super-secret-token",
                "X-Key": "fake-super-secret-key",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/https.md

    # Sobre HTTPS
    
    É fácil assumir que HTTPS é algo que é apenas "habilitado" ou não.
    
    Mas é bem mais complexo do que isso.
    
    /// tip | "Dica"
    
    Se você está com pressa ou não se importa, continue com as seções seguintes para instruções passo a passo para configurar tudo com diferentes técnicas.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/schema-extra-example.md

    {!../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    Essas informações extras serão adicionadas como se encontram no **JSON Schema** de resposta desse modelo e serão usadas na documentação da API.
    
    /// tip | "Dica"
    
    Você pode usar a mesma técnica para estender o JSON Schema e adicionar suas próprias informações extras de forma personalizada.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top