Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 722 for validations (0.37 sec)

  1. docs/en/docs/advanced/settings.md

    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    === "Pydantic v2"
    
        ```Python hl_lines="2  5-8  11"
        {!> ../../../docs_src/settings/tutorial001.py!}
        ```
    
    === "Pydantic v1"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

            }
    
            if (ruleMethod.getTypeParameters().length > 0) {
                problems.add(ruleMethod, "Cannot have type variables (i.e. cannot be a generic method)");
            }
    
            // TODO validations on method: synthetic, bridge methods, varargs, abstract, native
            ModelType<?> returnType = ModelType.returnType(ruleMethod);
            if (returnType.isRawClassOfParameterizedType()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

            failure.assertHasErrorOutput "Disable this check by adding 'dependencies-without-versions' to the suppressed validations of the :generateMetadataFileForMavenPublication task."
        }
    
        @Issue("https://github.com/gradle/gradle/issues/23030")
        def "can disable validation of dependencies without versions"() {
            given:
            settingsFile.text = """
                rootProject.name = 'root'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    Task ordering can be useful in a number of scenarios:
    
    * Enforce sequential ordering of tasks (e.g., `build` never runs before `clean`).
    * Run build validations early in the build (e.g., validate I have the correct credentials before starting the work for a release build).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_build_scripts.adoc

    }
    ----
    
    In the example, the application code uses Google's `guava` libraries.
    Guava provides utility methods for collections, caching, primitives support, concurrency, common annotations, string processing, I/O, and validations.
    
    === 4. Set properties
    
    A plugin can add properties and methods to a project using extensions.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:22:43 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    	XMapType               *string                                      `json:"x-kubernetes-map-type,omitempty"`
    	XValidations           *v1.ValidationRules                          `json:"x-kubernetes-validations,omitempty"`
    }
    
    // JSONSchemaPropsApplyConfiguration constructs an declarative configuration of the JSONSchemaProps type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	XMapType               *string                                      `json:"x-kubernetes-map-type,omitempty"`
    	XValidations           *v1beta1.ValidationRules                     `json:"x-kubernetes-validations,omitempty"`
    }
    
    // JSONSchemaPropsApplyConfiguration constructs an declarative configuration of the JSONSchemaProps type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

        }
    
        return NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns an instance of {@link InternetDomainName} after lenient validation. Specifically,
       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
       * href="http://www.ietf.org/rfc/rfc1035.txt">RFC 1035</a> is relaxed in the following ways:
       *
       * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

    !!! check "Inspired **FastAPI** to"
        Define extra validations for data types using the "default" value of model attributes. This improves editor support, and it was not available in Pydantic before.
    
        This actually inspired updating parts of Pydantic, to support the same validation declaration style (all this functionality is now already available in Pydantic).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InternetDomainName.java

        }
    
        return NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns an instance of {@link InternetDomainName} after lenient validation. Specifically,
       * validation against <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>
       * ("Internationalizing Domain Names in Applications") is skipped, while validation against <a
       * href="http://www.ietf.org/rfc/rfc1035.txt">RFC 1035</a> is relaxed in the following ways:
       *
       * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top