Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3631 - 3640 of 3,763 for int (0.03 sec)

  1. docs/ja/docs/tutorial/body.md

    **FastAPI** はそれぞれを認識し、適切な場所からデータを取得します。
    
    ```Python hl_lines="16"
    {!../../docs_src/body/tutorial004.py!}
    ```
    
    関数パラメータは以下の様に認識されます:
    
    * パラメータが**パス**で宣言されている場合は、優先的にパスパラメータとして扱われます。
    * パラメータが**単数型** (`int`、`float`、`str`、`bool` など)の場合は**クエリ**パラメータとして解釈されます。
    * パラメータが **Pydantic モデル**型で宣言された場合、リクエスト**ボディ**として解釈されます。
    
    /// note | "備考"
    
    FastAPIは、`= None`があるおかげで、`q`がオプショナルだとわかります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. helm-releases/minio-5.1.0.tgz

    template "minio.fullname" . }}-prometheus key: token {{- end }} {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $replicas := mul $poolCount $nodeCount }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := .Values.tls.enabled | ternary "https" "http" }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }} {{ $subPath...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 03 18:49:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. helm-releases/minio-5.2.0.tgz

    template "minio.fullname" . }}-prometheus key: token {{- end }} {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $replicas := mul $poolCount $nodeCount }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := .Values.tls.enabled | ternary "https" "http" }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }} {{ $subPath...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. helm-releases/minio-4.1.0.tgz

    template "minio.fullname" . }}-prometheus key: token {{- end }} {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $replicas := mul $poolCount $nodeCount }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath)...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 24 20:37:05 UTC 2022
    - 20K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/response-model.md

    FastAPI позволяет использовать **аннотации типов** таким же способом, как и для ввода данных в  **параметры** функции, вы можете использовать модели Pydantic, списки, словари, скалярные типы (такие, как int, bool и т.д.).
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    type batchKeyRotationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchKeyRotationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/query-params-str-validations.md

    #### 使用 `list`
    
    你也可以直接使用 `list` 代替 `List [str]`:
    
    ```Python hl_lines="7"
    {!../../docs_src/query_params_str_validations/tutorial013.py!}
    ```
    
    /// note
    
    请记住,在这种情况下 FastAPI 将不会检查列表的内容。
    
    例如,`List[int]` 将检查(并记录到文档)列表的内容必须是整数。但是单独的 `list` 不会。
    
    ///
    
    ## 声明更多元数据
    
    你可以添加更多有关该参数的信息。
    
    这些信息将包含在生成的 OpenAPI 模式中,并由文档用户界面和外部工具所使用。
    
    /// note
    
    请记住,不同的工具对 OpenAPI 的支持程度可能不同。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        suite.addTestSuite(LinkedHashMultimapTest.class);
        return suite;
      }
    
      public void testValueSetHashTableExpansion() {
        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       * Data Streams</a>.
       *
       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    }
    
    // isHTTPHeaderSizeTooLarge returns true if the provided
    // header is larger than 8 KB or the user-defined metadata
    // is larger than 2 KB.
    func isHTTPHeaderSizeTooLarge(header http.Header) bool {
    	var size, usersize int
    	for key := range header {
    		length := len(key) + len(header.Get(key))
    		size += length
    		for _, prefix := range userMetadataKeyPrefixes {
    			if stringsHasPrefixFold(key, prefix) {
    				usersize += length
    				break
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top