Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,560 for Example (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

       * specified by {@link Float#toString(float)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0f, 2.0f, 3.0f)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Float#toString(float)} formats {@code float} differently in GWT. In the
       * previous example, it returns the string {@code "1-2-3"}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

       * specified by {@link Double#toString(double)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0, 2.0, 3.0)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Double#toString(double)} formats {@code double} differently in GWT
       * sometimes. In the previous example, it returns the string {@code "1-2-3"}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       * specified by {@link Float#toString(float)}, and separated by {@code separator}. For example,
       * {@code join("-", 1.0f, 2.0f, 3.0f)} returns the string {@code "1.0-2.0-3.0"}.
       *
       * <p>Note that {@link Float#toString(float)} formats {@code float} differently in GWT. In the
       * previous example, it returns the string {@code "1-2-3"}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. README.md

    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    **Note**: Make sure you put `"fastapi[standard]"` in quotes to ensure it works in all terminals.
    
    ## Example
    
    ### Create it
    
    * Create a file `main.py` with:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/middleware.md

    πŸ› οΈ πŸ‘ˆ 🌐 πŸ“¨ πŸ“¨ βœ”οΈ β˜‘ βš’ `Host` 🎚, βœ” πŸ’‚β€β™‚ πŸ›‘ πŸ‡ΊπŸ‡ΈπŸ” 🦠 🎚 πŸ‘Š.
    
    ```Python hl_lines="2  6-8"
    {!../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    πŸ“„ ❌ πŸ•β€πŸ¦Ί:
    
    * `allowed_hosts` - πŸ“‡ πŸ†” πŸ“› πŸ‘ˆ πŸ”œ βœ” πŸ“›. πŸƒ πŸ†” βœ… `*.example.com` πŸ•β€πŸ¦Ί πŸŽ€ πŸ“. βœ” πŸ™† πŸ“› πŸ‘―β€β™‚οΈ βš™οΈ `allowed_hosts=["*"]` βš–οΈ 🚫 πŸ› οΈ.
    
    πŸš₯ πŸ“¨ πŸ“¨ πŸ”¨ 🚫 βœ” β˜‘ ‴️ `400` πŸ“¨ πŸ”œ πŸ“¨.
    
    ## `GZipMiddleware`
    
    🍡 πŸ—œ πŸ“¨ πŸ™† πŸ“¨ πŸ‘ˆ πŸ”Œ `"gzip"` `Accept-Encoding` 🎚.
    
    πŸ› οΈ πŸ”œ 🍡 πŸ‘―β€β™‚οΈ 🐩 &amp; πŸŽ₯ πŸ“¨.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial003.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        }
    
    
    def test_incorrect_token():
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial004_an.py

    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        }
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs/de/docs/deployment/https.md

    ///
    
    ### DNS
    
    Konzentrieren wir uns nun auf alle tatsΓ€chlichen HTTPS-Aspekte.
    
    Zuerst wΓΌrde der Browser mithilfe der **DNS-Server** herausfinden, welches die **IP fΓΌr die Domain** ist, in diesem Fall fΓΌr `someapp.example.com`.
    
    Die DNS-Server geben dem Browser eine bestimmte **IP-Adresse** zurΓΌck. Das wΓ€re die von Ihrem Server verwendete ΓΆffentliche IP-Adresse, die Sie in den DNS-Servern konfiguriert haben.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top