Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 297 for uniqueBy (0.1 sec)

  1. docs/ko/docs/tutorial/body-nested-models.md

    마찬가지로 예제에서 `tags`를 구체적으로 "문자열의 리스트"로 만들 수 있습니다:
    
    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ## 집합 타입
    
    그런데 생각해보니 태그는 반복되면 안 되고, 고유한(Unique) 문자열이어야 할 것 같습니다.
    
    그리고 파이썬은 집합을 위한 특별한 데이터 타입 `set`이 있습니다.
    
    그렇다면 `Set`을 임포트 하고 `tags`를 `str`의 `set`으로 선언할 수 있습니다:
    
    ```Python hl_lines="1  14"
    {!../../docs_src/body_nested_models/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    		stats = targetStat{}
    	}
    
    	stats.totalEvents++
    	list.targetStats[id] = stats
    	return
    }
    
    type asyncEvent struct {
    	ev        Event
    	targetSet TargetIDSet
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

     * as a cental repository for all jCIFS configuration properties. It cannot be
     * instantiated. Similar to <code>System</code> properties the namespace
     * is global therefore property names should be unique. Before use,
     * the <code>load</code> method should be called with the name of a
     * <code>Properties</code> file (or <code>null</code> indicating no
     * file) to initialize the <code>Config</code>. The <code>System</code>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // there are no conflicts with other CSI drivers on the cluster, the recommendation
      // is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
      // with the unique CSI driver name.
      //
      // Objects are namespaced.
      //
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      optional string status = 2;
    
      // `lastTransitionTime` is the last time the condition transitioned from one status to another.
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
      optional string reason = 4;
    
      // `message` is a human-readable message indicating details about last transition.
      optional string message = 5;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      optional string status = 2;
    
      // `lastTransitionTime` is the last time the condition transitioned from one status to another.
      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3;
    
      // `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
      optional string reason = 4;
    
      // `message` is a human-readable message indicating details about last transition.
      optional string message = 5;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		if v, err := base64.StdEncoding.DecodeString(ckSum); err == nil {
    			fi.Checksum = v
    		}
    		delete(userDefined, ReplicationSsecChecksumHeader)
    	}
    	uniqueID := mustGetUUID()
    	tempObj := uniqueID
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    		partsMetadata[index] = fi
    	}
    
    	// Order disks according to erasure distribution
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

         * outlined in RFC 2046. In forms, there are a series of fields to be supplied by the user who
         * fills out the form. Each field has a name. Within a given form, the names are unique.
         */
        @JvmField
        val FORM = "multipart/form-data".toMediaType()
    
        private val COLONSPACE = byteArrayOf(':'.code.toByte(), ' '.code.toByte())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Cut.java

    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Cut.java

    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top