Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 81 for Correct (0.05 seconds)

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

    The correct place is:
    
    * In the key `content`, that has as value another JSON object (`dict`) that contains:
        * A key with the media type, e.g. `application/json`, that contains as value another JSON object, that contains:
            * A key `schema`, that has as the value the JSON Schema from the model, here's the correct place.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. tests/test_response_by_alias.py

            json_schema_extra={
                "description": (
                    "response_model_by_alias=False is basically a quick hack, to support "
                    "proper OpenAPI use another model with the correct field names"
                )
            }
        )
    
    
    @app.get("/dict", response_model=Model, response_model_by_alias=False)
    def read_dict():
        return {"alias": "Foo"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    If you added the return type annotation, tools and editors would complain with a (correct) error telling you that your function is returning a type (e.g. a dict) that is different from what you declared (e.g. a Pydantic model).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. lib/time/update.bash

    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2025c
    DATA=2025c
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    go build -o work/mkzip mkzip.go # build now for correct paths in build errors
    cd work
    mkdir zoneinfo
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:47:56 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/sub-applications.md

    You will see the automatic API docs for the sub-application, including only its own _path operations_, all under the correct sub-path prefix `/subapi`:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/response-cookies.md

    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`.
    
    And also that you are not sending any data that should have been filtered by a `response_model`.
    
    ///
    
    ### More info { #more-info }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

        Note over Server: Server interprets headers<br/>(if --forwarded-allow-ips is set)
    
        Server->>Proxy: HTTP Response<br/>with correct HTTPS URLs
    
        Proxy->>Client: HTTPS Response
    ```
    
    The **proxy** intercepts the original client request and adds the special *forwarded* headers (`X-Forwarded-*`) before passing the request to the **application server**.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/async-tests.md

    Let's look at how we can make that work.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. ci/official/containers/ml_build/Dockerfile

    # Install various tools.
    # - bats: bash unit testing framework
    # - bazelisk: always use the correct bazel version
    # - buildifier: clean bazel build deps
    # - buildozer: clean bazel build deps
    # - gcloud SDK: communicate with Google Cloud Platform (GCP) for RBE, CI
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Dec 18 21:55:23 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

          // We must switch the old buffer to read mode to extract data
          Java8Compatibility.flip(buffer);
    
          newBuffer.put(buffer);
    
          // Swap references, newBuffer is already in write mode at the correct position
          this.buffer = newBuffer;
        }
    
        @Override
        public Hasher putByte(byte b) {
          ensureCapacity(Byte.BYTES);
          buffer.put(b);
          return this;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 04 15:39:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top