Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Fields (0.5 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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        final Map<String, Object> fields = searchHit.getSourceAsMap();
                        target.setParentUrl(getFieldValue(fields.get("parentUrl"), String.class));
                        target.setMethod(getFieldValue(fields.get("method"), String.class));
                        target.setMimeType(getFieldValue(fields.get("mimeType"), String.class));
                        target.setSessionId(getFieldValue(fields.get("sessionId"), String.class));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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)
  7. 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)
  8. cmd/storage-datatypes.go

    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K 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. 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)
Back to top