Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,371 for ndjson (0.04 seconds)

  1. docs/es/docs/advanced/dataclasses.md

    6. Aquí estamos regresando un diccionario que contiene `items`, que es una lista de dataclasses.
    
        FastAPI todavía es capaz de <abbr title="convertir los datos a un formato que pueda transmitirse">serializar</abbr> los datos a JSON.
    
    7. Aquí el `response_model` está usando una anotación de tipo de una lista de dataclasses `Author`.
    
        Nuevamente, puedes combinar `dataclasses` con anotaciones de tipos estándar.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/websockets.md

    Через эндпоинт веб-сокета вы можете получать и отправлять сообщения.
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *}
    
    Вы можете получать и отправлять двоичные, текстовые и JSON данные.
    
    ## Проверка в действии { #try-it }
    
    Если ваш файл называется `main.py`, то запустите приложение командой:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. cmd/storage-rest-server.go

    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    
    	storedDiskID, err := s.getStorage().GetDiskID()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	if diskID != storedDiskID {
    		s.writeErrorResponse(w, errDiskStale)
    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  4. internal/config/config.go

    	maps.Copy(HelpDeprecatedSubSysMap, helpDeprecatedKVMap)
    }
    
    // KV - is a shorthand of each key value.
    type KV struct {
    	Key   string `json:"key"`
    	Value string `json:"value"`
    
    	HiddenIfEmpty bool `json:"-"`
    }
    
    func (kv KV) String() string {
    	var s strings.Builder
    	s.WriteString(kv.Key)
    	s.WriteString(KvSeparator)
    	spc := madmin.HasSpace(kv.Value)
    	if spc {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/dataclasses.md

    4. `Author` 数据类用于 `response_model` 参数;
    
    5. 其它带有数据类的标准类型注解也可以作为请求体;
    
        本例使用的是 `Item` 数据类列表;
    
    6. 这行代码返回的是包含 `items` 的字典,`items` 是数据类列表;
    
        FastAPI 仍能把数据<abbr title="把数据转换为可以传输的格式">序列化</abbr>为 JSON;
    
    7. 这行代码中,`response_model` 的类型注解是 `Author` 数据类列表;
    
        再一次,可以把 `dataclasses` 与标准类型注解一起使用;
    
    8. 注意,*路径操作函数*使用的是普通函数,不是异步函数;
    
        与往常一样,在 FastAPI 中,可以按需组合普通函数与异步函数;
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/websockets.md

    In your WebSocket route you can `await` for messages and send messages.
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *}
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it { #try-it }
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. docs/sts/README.md

    >
    > - [**AssumeRole**](https://github.com/minio/minio/blob/master/docs/sts/assume-role.md)
    > - [**AD/LDAP**](https://github.com/minio/minio/blob/master/docs/sts/ldap.md)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. docs/bucket/replication/setup_2site_existing_replication.sh

    echo "adding replication rule for site a -> site b"
    ./mc replicate add sitea/bucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9004/bucket
    
    remote_arn=$(./mc replicate ls sitea/bucket --json | jq -r .rule.Destination.Bucket)
    sleep 1
    
    ./mc replicate resync start sitea/bucket/ --remote-bucket "${remote_arn}"
    sleep 30s ## sleep for 30s idea is that we give 300ms per object.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  9. helm-releases/minio-3.5.9.tgz

    # createPolicy($name, $filename) createPolicy () { NAME=$1 FILENAME=$2 # Create the name if it does not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy '$NAME'" else echo "Policy '$NAME' already exists." fi ${MC} admin policy add myminio $NAME /config/$FILENAME.json } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.policies...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Mar 03 23:29:03 GMT 2022
    - 17.7K bytes
    - Click Count (0)
  10. helm-releases/minio-3.6.3.tgz

    # createPolicy($name, $filename) createPolicy () { NAME=$1 FILENAME=$2 # Create the name if it does not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy '$NAME'" else echo "Policy '$NAME' already exists." fi ${MC} admin policy add myminio $NAME /config/$FILENAME.json } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.policies...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Mar 24 04:07:15 GMT 2022
    - 17.9K bytes
    - Click Count (0)
Back to Top