Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 724 for tag2 (0.25 sec)

  1. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    			}
    			traceFn := globalLifecycleSys.trace(oi)
    			// Note: NewerNoncurrentVersions action is performed only scanner today
    			tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags()
    
    			// Send audit for the lifecycle delete operation
    			auditLogLifecycle(
    				ctx,
    				oi,
    				ILMExpiry, tags, traceFn)
    
    			evArgs := eventArgs{
    				EventName:  event.ObjectRemovedDelete,
    				BucketName: bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        }
    
        val sink = sink()
    
        // Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31.
        if (tag < 31) {
          val byte0 = tagClass or constructedBit or tag.toInt()
          sink.writeByte(byte0)
        } else {
          val byte0 = tagClass or constructedBit or 0b0001_1111
          sink.writeByte(byte0)
          writeVariableLengthLong(tag)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final Object tagsObj = existingSource.get(FieldNames.TAGS);
            if (tagsObj instanceof List) {
                @SuppressWarnings("unchecked")
                final List<String> existingValues = (List<String>) tagsObj;
                concatValues(existingValues, tags);
                map.put(FieldNames.TAGS, existingValues);
            } else {
                map.put(FieldNames.TAGS, tags);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            queryBuilder.must(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(queryFreqThreshold));
            if (!tags.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.TAGS, tags));
            }
            if (!roles.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.ROLES, roles));
            } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/rule_test.go

    		},
    		{
    			inputXML: `<Rule>
    				<ID>Rule with multiple tags and DelMarkerExpiration</ID>
    				<Filter><And>
    				<Tag><Key>k1</Key><Value>v1</Value></Tag>
    				<Tag><Key>k2</Key><Value>v2</Value></Tag>
    				</And></Filter>
    				<DelMarkerExpiration>
    					<Days>365</Days>
    				</DelMarkerExpiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs_src/path_operation_configuration/tutorial005.py

        - **name**: each item must have a name
        - **description**: a long description
        - **price**: required
        - **tax**: if the item doesn't have tax, you can omit this
        - **tags**: a set of unique tag strings for this item
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 741 bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    		}
    
    		if len(r.Flags.Filter.Tags) > 0 {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := info.Metadata[xhttp.AmzObjectTagging]
    			if len(tagStr) != 0 {
    				t, err := tags.ParseObjectTags(tagStr)
    				if err != nil {
    					return false
    				}
    				tagMap = t.ToMap()
    			}
    
    			for _, kv := range r.Flags.Filter.Tags {
    				for t, v := range tagMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    ### Add some custom `tags`, `responses`, and `dependencies`
    
    We are not adding the prefix `/items` nor the `tags=["items"]` to each *path operation* because we added them to the `APIRouter`.
    
    But we can still add _more_ `tags` that will be applied to a specific *path operation*, and also some extra `responses` specific to that *path operation*:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    	// for more detail.
    	tags = append(tags, context.GOOS, context.GOARCH)
    	sort.Strings(tags)
    
    	for _, tag := range tags {
    		if ctags[tag] {
    			key += "," + tag
    			ctags[tag] = false
    		}
    	}
    	return key
    }
    
    type listImports struct {
    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top