Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,481 for that (0.03 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    ### Is concurrency better than parallelism?
    
    Nope! That's not the moral of the story.
    
    Concurrency is different than parallelism. And it is better on **specific** scenarios that involve a lot of waiting. Because of that, it generally is a lot better than parallelism for web application development. But not for everything.
    
    So, to balance that out, imagine the following short story:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
      optional int32 borrowingLimitPercent = 4;
    }
    
    // NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. mockwebserver/README.md

      HttpUrl baseUrl = server.url("/v1/chat/");
    
      // Exercise your application code, which should make those HTTP requests.
      // Responses are returned in the same order that they are enqueued.
      Chat chat = new Chat(baseUrl);
    
      chat.loadMore();
      assertEquals("hello, world!", chat.messages());
    
      chat.loadMore();
      chat.loadMore();
      assertEquals(""
          + "hello, world!\n"
          + "sup, bra?\n"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // seLinux is the strategy that will dictate the allowable labels that may be set.
      optional SELinuxStrategyOptions seLinux = 10;
    
      // runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
      optional RunAsUserStrategyOptions runAsUser = 11;
    
      // RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. docs/en/docs/alternatives.md

    Routes are declared in a single place, using functions declared in other places (instead of using decorators that can be placed right on top of the function that handles the endpoint). This is closer to how Django does it than to how Flask (and Starlette) does it. It separates in the code things that are relatively tightly coupled.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests.
    
    ### Use the `app.dependency_overrides` attribute
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    We also verify that we have a user with that username, and if not, we raise that same exception we created before.
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[47,117:128] *}
    
    ## Verify the `scopes`
    
    We now verify that all the scopes required, by this dependency and all the dependants (including *path operations*), are included in the scopes provided in the token received, otherwise raise an `HTTPException`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // <decimalSI>       ::= m | "" | k | M | G | T | P | E
    //
    // 	(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)
    //
    // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber>
    // ```
    //
    // No matter which of the three exponent forms is used, no quantity may represent
    // a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal
    // places. Numbers larger or more precise will be capped or rounded up.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    * `Field(index=True)` tells SQLModel that it should create a **SQL index** for this column, that would allow faster lookups in the database when reading data filtered by this column.
    
        SQLModel will know that something declared as `str` will be a SQL column of type `TEXT` (or `VARCHAR`, depending on the database).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top