Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for Frick (0.21 sec)

  1. docs/de/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: führe Code der Funktion aus
            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: führe Code der Funktion aus
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * by Kadatch and Jenkins, 2010.
         */
    
        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  3. 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")
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  4. 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`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  5. 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
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial012.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",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
       * Mitzenmacher. The paper argues that this trick doesn't significantly deteriorate the
       * performance of a Bloom filter (yet only needs two 32bit hash functions).
       */
      MURMUR128_MITZ_32() {
        @Override
        public <T extends @Nullable Object> boolean put(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    ## Order the parameters as you need, tricks
    
    !!! tip
        This is probably not as important or necessary if you use `Annotated`.
    
    Here's a **small trick** that can be handy, but you won't need it often.
    
    If you want to:
    
    * declare the `q` query parameter without a `Query` nor any default value
    * declare the path parameter `item_id` using `Path`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    ...because it's not clear if the default value should be `"rick"` or `"morty"`.
    
    So, you would use (preferably):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...or in older code bases you will find:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Advantages of `Annotated`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Nevertheless, we can declare the expected schema for the request body.
    
    ### Custom OpenAPI content type
    
    Using this same trick, you could use a Pydantic model to define the JSON Schema that is then included in the custom OpenAPI schema section for the *path operation*.
    
    And you could do this even if the data type in the request is not JSON.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top