Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 274 for serializar (0.06 seconds)

  1. fastapi/.agents/skills/fastapi/references/streaming.md

            yield item
    ```
    
    ## Server-Sent Events (SSE)
    
    To stream Server-Sent Events, use `response_class=EventSourceResponse` and `yield` items from the endpoint.
    
    Plain objects are automatically JSON-serialized as `data:` fields, declare the return type so the serialization is done by Pydantic:
    
    ```python
    from collections.abc import AsyncIterable
    
    from fastapi import FastAPI
    from fastapi.sse import EventSourceResponse
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool-decom_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *PoolDecommissionInfo) Msgsize() (s int) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableAsList.java

      }
    
      @Override
      public boolean isEmpty() {
        return delegateCollection().isEmpty();
      }
    
      @Override
      boolean isPartialView() {
        return delegateCollection().isPartialView();
      }
    
      /** Serialized form that leads to the same performance as the original list. */
      @GwtIncompatible
      @J2ktIncompatible
      private static final class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. cmd/tier-last-day-stats_gen.go

    					return
    				}
    			}
    		}
    		(*z)[zb0001] = zb0002
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z DailyAllTierStats) Msgsize() (s int) {
    	s = msgp.MapHeaderSize
    	if z != nil {
    		for zb0007, zb0008 := range z {
    			_ = zb0008
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/extra-data-types.md

        * Pydantic, bunu ayrıca bir "ISO 8601 time diff encoding" olarak temsil etmeye de izin verir, [daha fazla bilgi için dokümanlara bakın](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers).
    * `frozenset`:
        * request'lerde ve response'larda, `set` ile aynı şekilde ele alınır:
            * request'lerde bir list okunur, tekrarlar kaldırılır ve `set`'e dönüştürülür.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/additional-status-codes.md

    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | Atenção
    
    Quando você retorna um `Response` diretamente, como no exemplo acima, ele será retornado diretamente.
    
    Ele não será serializado com um modelo, etc.
    
    Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`).
    
    ///
    
    /// note | Detalhes Técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. cmd/local-locker_gen.go

    				err = msgp.WrapError(err, zb0001, zb0003)
    				return
    			}
    		}
    		(*z)[zb0001] = zb0002
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z localLockMap) Msgsize() (s int) {
    	s = msgp.MapHeaderSize
    	if z != nil {
    		for zb0006, zb0007 := range z {
    			_ = zb0007
    			s += msgp.StringPrefixSize + len(zb0006) + msgp.ArrayHeaderSize
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. cmd/storage-rest-common_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *nsScannerOptions) Msgsize() (s int) {
    	s = 1 + 3 + msgp.StringPrefixSize + len(z.DiskID) + 2 + msgp.IntSize + 2
    	if z.Cache == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Cache.Msgsize()
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/extra-data-types.md

        * Pydantic також дозволяє представляти це як "ISO 8601 time diff encoding", [дивіться документацію для отримання додаткової інформації](https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers).
    * `frozenset`:
        * У запитах і відповідях це буде оброблено так само, як і `set`:
            * У запитах список буде зчитано, дублікати буде видалено, і його буде перетворено на `set`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. cmd/bucket-replication-utils_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BucketReplicationResyncStatus) Msgsize() (s int) {
    	s = 1 + 2 + msgp.IntSize + 4 + msgp.MapHeaderSize
    	if z.TargetsMap != nil {
    		for za0001, za0002 := range z.TargetsMap {
    			_ = za0002
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 59.3K bytes
    - Click Count (0)
Back to Top