Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for techniques (0.18 sec)

  1. docs/fr/docs/index.md

    * Sécurité et authentification, y compris la prise en charge de **OAuth2** avec les **<abbr title="en anglais : JWT tokens">jetons <abbr title="JSON Web Tokens">JWT</abbr></abbr>** et l'authentification **HTTP Basic**.
    * Des techniques plus avancées (mais tout aussi faciles) pour déclarer les **modèles <abbr title="JavaScript Object Notation">JSON</abbr> profondément imbriqués** (grâce à Pydantic).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  2. README.md

    * Security and authentication, including support for **OAuth2** with **JWT tokens** and **HTTP Basic** auth.
    * More advanced (but equally easy) techniques for declaring **deeply nested JSON models** (thanks to Pydantic).
    * **GraphQL** integration with <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> and other libraries.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/additional-responses.md

    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs/fr/docs/advanced/additional-responses.md

    Dans ces cas, vous pouvez utiliser la technique Python "d'affection par décomposition" (appelé _unpacking_ en anglais) d'un `dict` avec `**dict_to_unpack` :
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-updates.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="30-37"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    !!! tip
        You can actually use this same technique with an HTTP `PUT` operation.
    
        But the example here uses `PATCH` because it was created for these use cases.
    
    !!! note
        Notice that the input model is still validated.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. cmd/postpolicyform.go

    // are merged together into a single JSON key, also
    // to remove any extraneous JSON bodies.
    //
    // Go stdlib doesn't support parsing JSON with duplicate
    // keys, so we need to use this technique to merge the
    // keys.
    func sanitizePolicy(r io.Reader) (io.Reader, error) {
    	var buf bytes.Buffer
    	e := json.NewEncoder(&buf)
    	d := jstream.NewDecoder(r, 0).ObjectAsKVS()
    	sset := set.NewStringSet()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

        You can set `schema_extra` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    !!! tip
        You could use the same technique to extend the JSON Schema and add your own custom extra info.
    
        For example you could use it to add metadata for a frontend user interface, etc.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

      /*
       * Leaving K and V as upper bounds rather than the actual key and value types allows type
       * parameters to be left implicit more often. CacheBuilder uses the same technique.
       */
    
      private MultimapBuilder() {}
    
      private static final int DEFAULT_EXPECTED_KEYS = 8;
    
      /** Uses a hash table to map keys to value collections. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top