Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for We (0.15 sec)

  1. architecture/networking/pilot.md

    Once we determine the proxy may be impacted, we determine which *types* may be impacted. For example, we know a `WasmPlugin` does not impact the `Cluster` type, so we can skip generating `Cluster` in this case. Warning: Envoy currently has a bug that *requires* `Endpoints` to be pushed any time the corresponding `Cluster` is pushed, so this optimization is intentionally turned off in this specific case.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

        ```
    
    ## Verify the `username` and data shape
    
    We verify that we get a `username`, and extract the scopes.
    
    And then we validate that data with the Pydantic model (catching the `ValidationError` exception), and if we get an error reading the JWT token or validating the data with Pydantic, we raise the `HTTPException` we created before.
    
    For that, we update the Pydantic model `TokenData` with a new property `scopes`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/sql-databases-peewee.md

    ```
    
    There are some differences with the code for the SQLAlchemy tutorial.
    
    We don't pass a `db` attribute around. Instead we use the models directly. This is because the `db` object is a global object, that includes all the connection logic. That's why we had to do all the `contextvars` updates above.
    
    Aso, when returning several objects, like in `get_users`, we directly call `list`, like in:
    
    ```Python
    list(models.User.select())
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
  4. CONTRIBUTING.md

        using a job called "copybara".
    
    **5. Copy to Google Internal codebase and run internal CI**
    
    -   Once the PR is in the Google codebase, we make sure it integrates well with
        its dependencies and the rest of the system.
    -   Rarely, If the tests fail at this stage, we cannot merge the code.
    -   If needed, we may come to you to make some changes. At times, it may not be
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
       * We use [executeCallCount] and [runCallCount] to defend against starting more threads than we
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    ### Check the password
    
    At this point we have the user data from our database, but we haven't checked the password.
    
    Let's put that data in the Pydantic `UserInDB` model first.
    
    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    #### Password hashing
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API.
    
    ## Example
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

     * test what OkHttp does when both are reachable, or if only one is reachable.
     *
     * This test only runs on host machines that have both IPv4 and IPv6 addresses for localhost.
     */
    @Timeout(30)
    class FastFallbackTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-models.md

    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    print(user_dict)
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  10. architecture/standards/README.md

    **Experimental!**
    
    We'd like to capture our architectural decisions about the build tool as [Architectural Decision Records (ADRs)](https://adr.github.io/).
    For now we just have this global repository of ADRs.
    If we see fit, we can break these out to per-platform ones, or keep a hybrid approach to having global and platform-specific ADSs.
    
    Our aim is to keep the process lightweight and approachable.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 21 06:30:44 GMT 2024
    - 546 bytes
    - Viewed (0)
Back to top