Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,838 for inf2 (0.02 sec)

  1. docs/en/docs/advanced/additional-responses.md

    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    
    The `model` key is not part of OpenAPI.
    
    **FastAPI** will take the Pydantic model from there, generate the JSON Schema, and put it in the correct place.
    
    The correct place is:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/testing.md

    With it, you can use <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a> directly with **FastAPI**.
    
    ## Using `TestClient`
    
    /// info
    
    To use `TestClient`, first install <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1/generated.proto

    }
    
    // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
    message PodDisruptionBudget {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-nested-models.md

            }
        ]
    }
    ```
    
    /// info | "informação"
    
    Note como o campo `images` agora tem uma lista de objetos de image.
    
    ///
    
    ## Modelos profundamente aninhados
    
    Você pode definir modelos profundamente aninhados de forma arbitrária:
    
    ```Python hl_lines="9  14  20  23  27"
    {!../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    /// info | "informação"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            Pair(
                (node as? NodeWithJavadoc<*>)?.javadoc?.orElse(null)?.let { findVersionFromJavadoc(it) }
                    // This is needed to find the JavaDoc of a package declaration in 'package-info.java'
                    ?: (node as? PackageDeclaration)?.parentNode?.get()?.childNodes?.filterIsInstance<JavadocComment>()?.singleOrNull()?.parse()?.let { findVersionFromJavadoc(it) }
                    ?: VERSION_NOT_FOUND,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        }
    
        private void commands(CliRequest cliRequest) {
            if (cliRequest.showErrors) {
                slf4jLogger.info("Error stacktraces are turned on.");
            }
    
            if (MavenExecutionRequest.CHECKSUM_POLICY_WARN.equals(cliRequest.request.getGlobalChecksumPolicy())) {
                slf4jLogger.info("Disabling strict checksum verification on all artifact downloads.");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/cookie-params.md

    Mas lembre-se que quando você importa `Query`, `Path`, `Cookie` e outras de `fastapi`, elas são na verdade funções que retornam classes especiais.
    
    ///
    
    /// info | Informação
    
    Para declarar cookies, você precisa usar `Cookie`, pois caso contrário, os parâmetros seriam interpretados como parâmetros de consulta.
    
    ///
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. tests/test_response_model_sub_types.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/valid1": {
                    "get": {
                        "summary": "Valid1",
                        "operationId": "valid1_valid1_get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial004_py310.py

    @needs_py310
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial006_an.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top