Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 362 for validators (0.07 seconds)

  1. internal/bucket/lifecycle/rule.go

    		for _, t := range r.Filter.And.Tags {
    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. .github/workflows/build.yml

        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v6
          - uses: gradle/actions/wrapper-validation@v5
          - name: Validate Renovate
            uses: rinchsan/renovate-config-validator@v0.2.0
            with:
              pattern: '.github/renovate.json'
    
      checks:
        permissions:
          checks: write # for mikepenz/action-junit-report
        runs-on: ubuntu-latest
    
        steps:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. cmd/erasure-healing-common_test.go

    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	if count < latestFileInfo.Erasure.DataBlocks {
    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	return latestFileInfo, nil
    }
    
    // validates functionality provided to find most common
    // time occurrence from a list of time.
    func TestCommonTime(t *testing.T) {
    	// List of test cases for common modTime.
    	testCases := []struct {
    		times  []time.Time
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  4. docs/es/docs/index.md

    Cuando instalas FastAPI con `pip install "fastapi[standard]"` viene con el grupo `standard` de dependencias opcionales:
    
    Usadas por Pydantic:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - para validación de correos electrónicos.
    
    Usadas por Starlette:
    
    * [`httpx`](https://www.python-httpx.org) - Requerido si deseas usar el `TestClient`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  5. docs/pt/docs/index.md

    Quando você instala o FastAPI com `pip install "fastapi[standard]"`, ele vem com o grupo `standard` de dependências opcionais:
    
    Utilizado pelo Pydantic:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - para validação de email.
    
    Utilizado pelo Starlette:
    
    * [`httpx`](https://www.python-httpx.org) - Obrigatório caso você queira utilizar o `TestClient`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  6. docs/fr/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ## Guide officiel { #official-guide }
    
    Pydantic propose un [Guide de migration](https://docs.pydantic.dev/latest/migration/) officiel de la v1 à la v2.
    
    Il inclut aussi ce qui a changé, comment les validations sont désormais plus correctes et strictes, les pièges possibles, etc.
    
    Vous pouvez le lire pour mieux comprendre ce qui a changé.
    
    ## Tests { #tests }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/filter.go

    				return errUnknownXMLTag
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 04 17:01:26 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

    import org.gradle.api.tasks.VerificationException
    import org.gradle.api.tasks.options.Option
    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    import java.net.URI
    
    /**
     * Validates and optionally fixes the computed target runtimes for projects
     * in the Gradle build.
     *
     * Each project may require a set of "target runtimes" that it must be able to run on.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. cmd/erasure-metadata-utils_test.go

    				errFileNotFound, errFileNotFound, nil, nil, nil, nil, nil,
    			},
    			nil, nil,
    		},
    		// Checks if wrapped context cancellation errors are grouped as one.
    		{canceledErrs, nil, context.Canceled},
    	}
    	// Validates list of all the testcases for returning valid errors.
    	for i, testCase := range testCases {
    		gotErr := reduceReadQuorumErrs(t.Context(), testCase.errs, testCase.ignoredErrs, 5)
    		if gotErr != testCase.err {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. docs/tr/docs/index.md

    FastAPI'ı `pip install "fastapi[standard]"` ile yüklediğinizde, opsiyonel bağımlılıkların `standard` grubuyla birlikte gelir:
    
    Pydantic tarafından kullanılanlar:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - email doğrulaması için.
    
    Starlette tarafından kullanılanlar:
    
    * [`httpx`](https://www.python-httpx.org) - `TestClient` kullanmak istiyorsanız gereklidir.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top