Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for field3 (0.07 sec)

  1. docs/en/docs/tutorial/body-fields.md

    # Body - Fields
    
    The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    
    ## Import `Field`
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/mdo/profiles.mdo

              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Profile</name>
          <version>1.0.0</version>
          <description><![CDATA[
            Modifications to the build process which is keyed on some
            sort of environmental parameter.
          ]]></description>
          <fields>
            <field>
              <name>id</name>
              <required>true</required>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/mdo/paramdoc.mdo

          <description>A plugin parameter expression supported by Maven</description>
          <fields>
            <field>
              <version>1.0.0</version>
              <name>syntax</name>
              <description>The syntax of the expression</description>
              <type>String</type>
              <required>true</required>
            </field>
            <field>
              <version>1.0.0</version>
              <name>description</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        # fields but it's the same one, so count them by name
        body_param_names_set = {field.name for field in fields}
        # A top level field has to be a single field, not multiple
        if len(body_param_names_set) > 1:
            return True
        first_field = fields[0]
        # If it explicitly specifies it is embedded, it has to be embedded
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

                fields will be ignored at serialization time.
                """
            ),
        ] = None,
        convert_underscores: Annotated[
            bool,
            Doc(
                """
                Automatically convert underscores to hyphens in the parameter field name.
    
                Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    "Configure " + dispatcherMeta.displayName());
            context.addInHeader("");
    
            for (DispatcherMeta.Field field : dispatcherMeta.fields()) {
                String fieldKey = field.getKey();
                String fieldDescription = "Configure " + fieldKey + ": " + field.getDescription();
                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
                    for (Field field : fields) {
                        Class<?> type = field.getType();
                        if (isQualifiedForInterpolation(field, type)) {
                            boolean isAccessible = field.isAccessible();
                            field.setAccessible(true);
                            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/sds/util.go

    	trustDomain string
    	SecretMeta
    }
    
    // Name sets the name field on a secretItemBuilder
    func (s *secretItemBuilder) Name(name string) SecretItemBuilder {
    	s.name = name
    	return s
    }
    
    // Data sets the data field on a secretItemBuilder
    func (s *secretItemBuilder) Data(data string) SecretItemBuilder {
    	s.data = data
    	return s
    }
    
    // Source sets the source field on a secretItemBuilder
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. fastapi/security/oauth2.py

        fields `username` and `password`.
    
        All the initialization parameters are extracted from the request.
    
        The only difference between `OAuth2PasswordRequestFormStrict` and
        `OAuth2PasswordRequestForm` is that `OAuth2PasswordRequestFormStrict` requires the
        client to send the form field `grant_type` with the value `"password"`, which
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CollectionFuture.java

        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top