Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4051 - 4060 of 4,114 for inT (0.03 sec)

  1. docs/ja/docs/tutorial/query-params-str-validations.md

    #### `list`を使う
    
    `List[str]`の代わりに直接`list`を使うこともできます:
    
    {* ../../docs_src/query_params_str_validations/tutorial013.py hl[7] *}
    
    /// note | 備考
    
    この場合、FastAPIはリストの内容をチェックしないことを覚えておいてください。
    
    例えば`List[int]`はリストの内容が整数であるかどうかをチェックします(そして、文書化します)。しかし`list`だけではそうしません。
    
    ///
    
    ## より多くのメタデータを宣言する
    
    パラメータに関する情報をさらに追加することができます。
    
    その情報は、生成されたOpenAPIに含まれ、ドキュメントのユーザーインターフェースや外部のツールで使用されます。
    
    /// note | 備考
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/settings.md

    ///
    
    然后,当您创建该 `Settings` 类的实例(在此示例中是 `settings` 对象)时,Pydantic 将以不区分大小写的方式读取环境变量,因此,大写的变量 `APP_NAME` 仍将为属性 `app_name` 读取。
    
    然后,它将转换和验证数据。因此,当您使用该 `settings` 对象时,您将获得您声明的类型的数据(例如 `items_per_user` 将为 `int` 类型)。
    
    ### 使用 `settings`
    
    然后,您可以在应用程序中使用新的 `settings` 对象:
    
    {* ../../docs_src/settings/tutorial001.py hl[18:20] *}
    
    ### 运行服务器
    
    接下来,您将运行服务器,并将配置作为环境变量传递。例如,您可以设置一个 `ADMIN_EMAIL` 和 `APP_NAME`,如下所示:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tests/sql_builder_test.go

    		t.Error("Raw sql to update records")
    	}
    
    	DB.Exec("update users set age=? where name = ?", gorm.Expr("age * ? + ?", 2, 10), "jinzhu-raw")
    
    	var age int
    	DB.Raw("select sum(age) from users where name = ?", "jinzhu-raw").Scan(&age)
    
    	if age != ((1+10+20)*2 + 30) {
    		t.Errorf("Invalid age, got %v", age)
    	}
    }
    
    func TestRowsWithGroup(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. cmd/kms-handlers_test.go

    	name   string
    	method string
    	path   string
    	query  map[string]string
    
    	// User credentials and policy for request
    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    	wantKeyNames   []string
    	wantResp       []string
    }
    
    func TestKMSHandlersCreateKey(t *testing.T) {
    	adminTestBed, tearDown := setupKMSTest(t, true)
    	defer tearDown()
    
    	tests := []kmsTestCase{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    // the Close() function is called.
    type closeNotifier struct {
    	rc   io.ReadCloser
    	done chan struct{}
    }
    
    func (c *closeNotifier) Read(p []byte) (n int, err error) {
    	n, err = c.rc.Read(p)
    	if err != nil {
    		if c.done != nil {
    			xioutil.SafeClose(c.done)
    			c.done = nil
    		}
    	}
    	return n, err
    }
    
    func (c *closeNotifier) Close() error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  6. docs/ko/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...`def`를 사용하는 대신:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. docs/tr/docs/alternatives.md

    API'lara gereken bir diğer büyük özellik ise veri doğrulamadır, yani verinin çeşitli parametrelere bağlı olarak doğru ve tutarlı olduğundan emin olmaktır. Örneğin bir alanın `int` olmasına karar verdiniz, daha sonra rastgele bir metin değeri almasını istemezsiniz. Bu özellikle sisteme dışarıdan gelen veri için kullanışlı bir özellik oluyor.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. helm-releases/minio-3.6.0.tgz

    matchLabels: app: {{ include "minio.name" . }} release: {{ .Release.Name }} monitoring: "true" {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }} {{ $subPath...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 13 22:44:21 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  9. helm-releases/minio-3.4.3.tgz

    matchLabels: app: {{ include "minio.name" . }} release: {{ .Release.Name }} monitoring: "true" {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }} {{ $subPath...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 21 20:55:50 UTC 2021
    - 17.7K bytes
    - Viewed (0)
  10. helm-releases/minio-3.5.4.tgz

    matchLabels: app: {{ include "minio.name" . }} release: {{ .Release.Name }} monitoring: "true" {{- end }} minio/templates/statefulset.yaml {{- if eq .Values.mode "distributed" }} {{ $poolCount := .Values.pools | int }} {{ $nodeCount := .Values.replicas | int }} {{ $drivesPerNode := .Values.drivesPerNode | int }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $mountPath := .Values.mountPath }} {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }} {{ $subPath...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 14 06:04:53 UTC 2022
    - 17.2K bytes
    - Viewed (0)
Back to top