Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 665 for validi (0.19 sec)

  1. tests/test_response_model_sub_types.py

    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    @app.get("/valid4", responses={"500": {"model": List[Model]}})
    def valid4():
        pass
    
    
    client = TestClient(app)
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. cmd/object-api-input-checks.go

    }
    
    // Checks bucket and object name validity, returns nil if both are valid.
    func checkBucketAndObjectNames(ctx context.Context, bucket, object string) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil {
    		return BucketNameInvalid{Bucket: bucket}
    	}
    	// Verify if object is valid.
    	if len(object) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. docs/fr/docs/features.md

    * Valide les **structures complexes**:
        * Utilise les modèles hiérarchique de Pydantic, le `typage` Python pour les `Lists`, `Dict`, etc.
        * Et les validateurs permettent aux schémas de données complexes d'être clairement et facilement définis, validés et documentés sous forme d'un schéma JSON.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  4. docs/sts/tls.md

    - MinIO verifies that the client certificate is valid.
    - MinIO tries to find a policy that matches the `CN` of the client certificate.
    - MinIO returns temp. S3 credentials associated to the found policy.
    
    The returned credentials expiry after a certain period of time that can be configured via `&DurationSeconds=3600`. By default, the STS credentials are valid for 1 hour. The minimum expiration allowed is 15 minutes.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      //   3. Signer whose configured minimum is longer than the requested duration
      //
      // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.
      //
      // +optional
      optional int32 expirationSeconds = 8;
    
      // allowedUsages specifies a set of usage contexts the key will be
      // valid for.
      // See:
      // 	https://tools.ietf.org/html/rfc5280#section-4.2.1.3
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/authentication/v1/generated.proto

      // ExpirationSeconds is the requested duration of validity of the request. The
      // token issuer may return a token with a different validity duration so a
      // client needs to check the 'expiration' field in a response.
      // +optional
      optional int64 expirationSeconds = 4;
    
      // BoundObjectRef is a reference to an object that the token will be bound to.
      // The token will only be valid for as long as the bound object exists.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return true
    	}
    
    	ret := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    	if ret.Mode.Valid() && (ret.Mode == objectlock.RetCompliance || ret.Mode == objectlock.RetGovernance) {
    		t, err := objectlock.UTCNowNTP()
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                      AttributeTypeAndValue(
                        type = COMMON_NAME,
                        value = "cash.app",
                      ),
                    ),
                  ),
                validity =
                  Validity(
                    notBefore = 0L,
                    notAfter = 1000L,
                  ),
                subject =
                  listOf(
                    listOf(
                      AttributeTypeAndValue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/ldap.go

    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    	// under a configured base DN in the LDAP directory.
    	validDN, isUnderBaseDN, err := l.GetValidatedUserDN(conn, username)
    	if err == nil && !isUnderBaseDN {
    		return "", fmt.Errorf("Unable to find user DN: %w", err)
    	}
    	return validDN, err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    	}
    
    	// If a file we are watching has a change event, yield and let caller check validity
    	select {
    	case <-watcher.Events:
    		// Something changed, and we must yield
    		return nil
    	case err := <-watcher.Errors:
    		// We had a watch error - that's no good
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    		// Valid configuration; set isReady to true and wait for modifications before checking again
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top