Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 289 for validators (0.05 sec)

  1. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Verificar el `username` y la forma de los datos
    
    Verificamos que obtenemos un `username`, y extraemos los scopes.
    
    Y luego validamos esos datos con el modelo de Pydantic (capturando la excepción `ValidationError`), y si obtenemos un error leyendo el token JWT o validando los datos con Pydantic, lanzamos la `HTTPException` que creamos antes.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId());
            return crawlingConfig.getConfigParameterMap(config);
        }
    
        /**
         * Validates if the given URL string is a valid URL.
         *
         * @param urlStr the URL string to validate
         * @return true if the URL is valid, false otherwise
         */
        protected boolean isValidUrl(final String urlStr) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/settings.md

    Você pode utilizar todas as ferramentas e funcionalidades de validação que são utilizadas nos modelos do Pydantic, como tipos de dados diferentes e validações adicionei com `Field()`.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     int64
    }
    
    func (e batchReplicationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    func (r *BatchJobReplicateV1) Validate(ctx context.Context, job BatchJobRequest, o ObjectLayer) error {
    	if r == nil {
    		return nil
    	}
    
    	if r.APIVersion != batchReplJobAPIVersion {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v5
          - uses: gradle/actions/wrapper-validation@v4
          - name: Validate Renovate
            uses: rinchsan/renovate-config-validator@v0.2.0
            with:
              pattern: '.github/renovate.json'
    
      checkjdk11:
        permissions:
          checks: write # for mikepenz/action-junit-report
        runs-on: ubuntu-latest
    
        steps:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. docs/zh-hant/docs/features.md

        * 使用 Pydantic 模型時,你可以把資料結構分層設計,並且用 Python 的 `List` 和 `Dict` 等型別來定義。
        * 驗證器讓我們可以輕鬆地定義和檢查複雜的資料結構,並把它們轉換成 JSON Schema 進行記錄。
        * 你可以擁有深層**巢狀的 JSON** 物件,並對它們進行驗證和註釋。
    * **可擴展**:
        * Pydantic 讓我們可以定義客製化的資料型別,或者你可以使用帶有 validator 裝飾器的方法來擴展模型中的驗證功能。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:48:41 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                } else {
                  return Integer.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
                }
              }
            });
      }
    
      /** Validates that the given method's signature meets all of our assumptions. */
      private static void validateMethod(Method method) {
        String desc = method.toString();
    
        assertTrue(desc, isAnyEnter(method) || isWaitFor(method));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    	// Validates if upload ID exists.
    	fi, _, err := er.checkUploadIDExists(ctx, bucket, object, uploadID, true)
    	if err != nil {
    		if errors.Is(err, errVolumeNotFound) {
    			return pi, toObjectErr(err, bucket)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top