Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 362 for validators (0.05 seconds)

  1. internal/bucket/replication/filter.go

    		if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil {
    			return err
    		}
    	}
    
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	// A Filter must have exactly one of Prefix, Tag, or And specified.
    	if !f.And.isEmpty() {
    		if f.Prefix != "" {
    			return errInvalidFilter
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Click Count (0)
  2. docs/uk/docs/features.md

    * **Розширюваність**:
        * Pydantic дозволяє визначати користувацькі типи даних або ви можете розширити валідацію методами в моделі, позначеними декоратором validator.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ## Official Guide { #official-guide }
    
    Pydantic has an official [Migration Guide](https://docs.pydantic.dev/latest/migration/) from v1 to v2.
    
    It also includes what has changed, how validations are now more correct and strict, possible caveats, etc.
    
    You can read it to understand better what has changed.
    
    ## Tests { #tests }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. docs/de/docs/index.md

    Wenn Sie FastAPI mit `pip install "fastapi[standard]"` installieren, kommt es mit der `standard`-Gruppe optionaler Abhängigkeiten:
    
    Verwendet von Pydantic:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) – für E-Mail-Validierung.
    
    Verwendet von Starlette:
    
    * [`httpx`](https://www.python-httpx.org) – erforderlich, wenn Sie den `TestClient` verwenden möchten.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  5. src/test/java/jcifs/smb/CredentialsInternalTest.java

    @ExtendWith(MockitoExtension.class)
    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
         * It validates inputs, records calls, and delegates some behavior to collaborators
         * so we can verify interactions.
         */
        static class TestCredentials implements CredentialsInternal {
            private final String domain;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. internal/bucket/encryption/bucket-sse-config.go

    func ParseBucketSSEConfig(r io.Reader) (*BucketSSEConfig, error) {
    	var config BucketSSEConfig
    	err := xml.NewDecoder(r).Decode(&config)
    	if err != nil {
    		return nil, err
    	}
    
    	// Validates server-side encryption config rules
    	// Only one rule is allowed on AWS S3
    	if len(config.Rules) != 1 {
    		return nil, errors.New("only one server-side encryption rule is allowed at a time")
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Click Count (0)
  9. docs/zh/docs/index.md

    FastAPI 依赖 Pydantic 和 Starlette。
    
    ### `standard` 依赖 { #standard-dependencies }
    
    当你通过 `pip install "fastapi[standard]"` 安装 FastAPI 时,会包含 `standard` 组的一些可选依赖:
    
    Pydantic 使用:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) - 用于 email 校验。
    
    Starlette 使用:
    
    * [`httpx`](https://www.python-httpx.org) - 使用 `TestClient` 时需要。
    * [`jinja2`](https://jinja.palletsprojects.com) - 使用默认模板配置时需要。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

         */
        @Test
        void testWitnessEnvironmentConfiguration() throws Exception {
            // Test simulating real witness environment scenarios
            // This test validates integration patterns without requiring real cluster
    
            // Simulate witness service discovery
            InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top