Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,319 for also (0.04 sec)

  1. docs/de/docs/tutorial/extra-models.md

    Wenn wir ein `dict` wie `user_dict` nehmen, und es einer Funktion (oder Klassenmethode) mittels `**user_dict` übergeben, wird Python es „entpacken“. Es wird die Schlüssel und Werte von `user_dict` direkt als Schlüsselwort-Argumente übergeben.
    
    Wenn wir also das `user_dict` von oben nehmen und schreiben:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    dann ist das ungefähr äquivalent zu:
    
    ```Python
    UserInDB(
        username="john",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    This schema definition includes your API paths, the possible parameters they take, etc.
    
    #### Data "schema"
    
    The term "schema" might also refer to the shape of some data, like a JSON content.
    
    In that case, it would mean the JSON attributes, and data types they have, etc.
    
    #### OpenAPI and JSON Schema
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. tests/test_inherited_custom_class.py

            a_uuid: MyUuid
    
            @field_serializer("a_uuid")
            def serialize_a_uuid(self, v):
                return str(v)
    
        @app.get("/get_custom_class")
        def return_some_user():
            # Test that the fix also works for custom pydantic classes
            return SomeCustomClass(a_uuid=MyUuid("b8799909-f914-42de-91bc-95c819218d01"))
    
        client = TestClient(app)
    
        with client:
            response_simple = client.get("/fast_uuid")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. architecture/build-state-model.md

      
      project4["project"]
      build2 --> project4
    
    ```
    
    ### Build process state
    
    The "build process state" holds the global state of the build process and manages all the other state.
    
    The build process state also includes state that is tied to a particular Gradle user home directory.
    When that directory changes between Gradle invocations, the state is discarded and recreated.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. architecture/security/istio-agent.md

       1. If the certificate is not yet expired, the `SecretManager` also can return a cache response. In practice, this would
           only happen in cases where Envoy were to re-request a resource, which is fairly rare.
       1. `SecretManager` can also read certificates from files. When this is configured, no CA client is used.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:11:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    /// note | "Technical Details"
    
    A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params.md

    ////
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    /// check
    
    Also notice that **FastAPI** is smart enough to notice that the path parameter `item_id` is a path parameter and `q` is not, so, it's a query parameter.
    
    ///
    
    ## Query parameter type conversion
    
    You can also declare `bool` types, and they will be converted:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/metadata.md

    <img src="/img/tutorial/metadata/image01.png">
    
    ## License identifier
    
    Since OpenAPI 3.1.0 and FastAPI 0.99.0, you can also set the `license_info` with an `identifier` instead of a `url`.
    
    For example:
    
    ```Python hl_lines="31"
    {!../../docs_src/metadata/tutorial001_1.py!}
    ```
    
    ## Metadata for tags
    
    You can also add additional metadata for the different tags used to group your path operations with the parameter `openapi_tags`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashMultimap.java

      @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
    
      /**
       * Creates a new, empty {@code HashMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys().hashSetValues().build()}, which provides more control over the
       * underlying data structure.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params-numeric-validations.md

    Pass `*`, as the first parameter of the function.
    
    Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value.
    
    ```Python hl_lines="7"
    {!../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top