Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 445 for Validate (0.08 sec)

  1. docs/en/docs/python-types.md

    You declare the "shape" of the data as classes with attributes.
    
    And each attribute has a type.
    
    Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data.
    
    And you get all the editor support with that resulting object.
    
    An example from the official Pydantic docs:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret.go

    	}
    
    	// Create a Kubeconfig to access the remote cluster using the auth provider plugin.
    	kubeconfig := createPluginKubeconfig(caData, clusterName, server, authProviderConfig)
    	if err := clientcmd.Validate(*kubeconfig); err != nil {
    		return nil, fmt.Errorf("invalid kubeconfig: %v", err)
    	}
    
    	// Encode the Kubeconfig in a secret that can be loaded by Istio to dynamically discover and access the remote cluster.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. docs/sts/wso2.md

    Using the above `id_token` we can perform an STS request to MinIO to get temporary credentials for MinIO API operations. MinIO STS API uses [JSON Web Key Set Endpoint](https://docs.wso2.com/display/IS541/JSON+Web+Key+Set+Endpoint) to validate if JWT is valid and is properly signed.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. go.mod

    	github.com/go-openapi/runtime v0.28.0 // indirect
    	github.com/go-openapi/spec v0.21.0 // indirect
    	github.com/go-openapi/strfmt v0.23.0 // indirect
    	github.com/go-openapi/swag v0.23.0 // indirect
    	github.com/go-openapi/validate v0.24.0 // indirect
    	github.com/gobwas/httphead v0.1.0 // indirect
    	github.com/gobwas/pool v0.2.1 // indirect
    	github.com/goccy/go-json v0.10.3 // indirect
    	github.com/gogo/protobuf v1.3.2 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                        try {
                            return interrogate(getTransportContext(), this.dcList[ i ]);
                        }
                        catch ( SmbException se ) {
                            log.warn("Failed validate DC: " + this.dcList[ i ], se);
                        }
                        this.dcList[ i ] = null;
                    }
                }
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    					// Validate the HTTP response status code  with the expected one.
    					if want.HTTPStatusCode != rec.Code {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. docs/en/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                // gz
                bis.reset();
                return isValid(new GZIPInputStream(bis), false);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to validate a file.", e);
                }
            }
            return false;
        }
    
        /**
         * Generates SitemapSet instance.
         *
         * This method does not close the input stream.
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	if err = json.Unmarshal(reqBytes, &updateReq); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	if err := updateReq.Validate(); err != nil {
    		// Since this validation would happen client side as well, we only send
    		// a generic error message here.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          headers.add(name, value.toString())
        }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
         * same name. Unlike [addHeader] this does not validate the name and
         * value.
         */
        fun addHeaderLenient(
          name: String,
          value: Any,
        ) = apply {
          addHeaderLenient(headers, name, value.toString())
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top