Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,077 for asdict (0.23 sec)

  1. fastapi/security/http.py

                scheme=scheme, description=description
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        def make_authenticate_headers(self) -> dict[str, str]:
            return {"WWW-Authenticate": f"{self.model.scheme.title()}"}
    
        def make_not_authenticated_error(self) -> HTTPException:
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. tests/test_compat.py

                arbitrary_types_allowed=True,
            )
            value: Union[str, Missing] = Missing()
            embedded_model: EmbeddedModel = EmbeddedModel()
    
        @app.post("/")
        def foo(req: Model) -> dict[str, Union[str, None]]:
            return {
                "value": req.value or None,
                "embedded_value": req.embedded_model.value or None,
            }
    
        client = TestClient(app)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    func (op auditTierOp) String() string {
    	// flattening the auditTierOp{} for audit
    	return fmt.Sprintf("tier:%s,respNS:%d,tx:%d,err:%s", op.Tier, op.TimeToResponseNS, op.OutputBytes, op.Error)
    }
    
    func auditTierActions(ctx context.Context, tier string, bytes int64) func(err error) {
    	startTime := time.Now()
    	return func(err error) {
    		// Record only when audit targets configured.
    		if len(logger.AuditTargets()) == 0 {
    			return
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES =
          unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5));
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
          for (BoundType uboundType : BoundType.values()) {
            assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. docs/kms/IAM.md

    if present, and the IAM / configuration data got encrypted with the root credentials.
    Now, MinIO encrypts IAM / configuration and S3 objects with a KMS, if present. This
    change unified the key-management aspect within MinIO.
    
    The unified KMS-based approach has several advantages:
    
    - Key management is now centralized. There is one way to change or rotate encryption keys.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         */
        private static class StringItem implements Item {
            private static final List<String> QUALIFIERS =
                    Arrays.asList("alpha", "beta", "milestone", "rc", "snapshot", "", "sp");
            private static final List<String> RELEASE_QUALIFIERS = Arrays.asList("ga", "final", "release");
    
            private static final Properties ALIASES = new Properties();
    
            static {
                ALIASES.put("cr", "rc");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body.md

    Par exemple, le modèle ci-dessus déclare un "objet" JSON (ou `dict` Python) tel que :
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional.
    
    For example, this model above declares a JSON "`object`" (or Python `dict`) like:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[82:85] *}
    
    #### Über `**user_dict` { #about-user-dict }
    
    `UserInDB(**user_dict)` bedeutet:
    
    *Übergib die Schlüssel und Werte des `user_dict` direkt als Schlüssel-Wert-Argumente, äquivalent zu:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[82:85] *}
    
    #### About `**user_dict` { #about-user-dict }
    
    `UserInDB(**user_dict)` means:
    
    *Pass the keys and values of the `user_dict` directly as key-value arguments, equivalent to:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top