- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Operator (0.16 sec)
-
docs/en/docs/python-types.md
In Python 3.10 there's also a **new syntax** where you can put the possible types separated by a <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr>. === "Python 3.10+" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial008b_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
docs/em/docs/python-types.md
๐ 3๏ธโฃ.6๏ธโฃ & ๐ (โ ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ) ๐ ๐ช โ๏ธ `Union` ๐ โช๏ธโก๏ธ `typing` & ๐ฎ ๐ โฌ ๐ ๐ช ๐ ๐ซ. ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ ๐ค **๐ โ** ๐โ ๐ ๐ช ๐ฎ ๐ช ๐ ๐ฝ <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>โธ โธ (`|`)</abbr>. === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial008b.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
fastapi/encoders.py
Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 """ if dec_value.as_tuple().exponent >= 0: # type: ignore[operator] return int(dec_value) else: return float(dec_value) ENCODERS_BY_TYPE: Dict[Type[Any], Callable[[Any], Any]] = { bytes: lambda o: o.decode(), Color: str,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/vi/docs/python-types.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006c.py!} ``` ### `StreamingResponse` Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator und streamt den Responsebody. ```Python hl_lines="2 14" {!../../../docs_src/custom_response/tutorial007.py!} ``` #### Verwendung von `StreamingResponse` mit dateiรคhnlichen Objekten
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:05:12 GMT 2024 - 13.5K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006c.py!} ``` ### `StreamingResponse` Takes an async generator or a normal generator/iterator and streams the response body. ```Python hl_lines="2 14" {!../../../docs_src/custom_response/tutorial007.py!} ``` #### Using `StreamingResponse` with file-like objects
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0)