- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Reshape (0.17 sec)
-
fastapi/utils.py
new_field.post_validators = field.post_validators # type: ignore[attr-defined] new_field.parse_json = field.parse_json # type: ignore[attr-defined] new_field.shape = field.shape # type: ignore[attr-defined] new_field.populate_validators() # type: ignore[attr-defined] return new_field def generate_operation_id_for_path( *, name: str, path: str, method: str
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
* Add a **JSON Schema** for the response, in the OpenAPI *path operation*. * This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/en/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 - 17K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* π Add Russian translation for `docs/ru/docs/tutorial/response-status-code.md`. PR [#9370](https://github.com/tiangolo/fastapi/pull/9370) by [@nadia3373](https://github.com/nadia3373). ### Internal * π Fix `flask.escape` warning for internal tests. PR [#9468](https://github.com/tiangolo/fastapi/pull/9468) by [@samuelcolvin](https://github.com/samuelcolvin).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/en/docs/tutorial/dependencies/index.md
Prefer to use the `Annotated` version if possible. ```Python hl_lines="8-11" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
!!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="105 107-115" {!> ../../../docs_src/security/tutorial005.py!} ``` ## Verify the `username` and data shape We verify that we get a `username`, and extract the scopes.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
These Pydantic models define more or less a "schema" (a valid data shape). So this will help us avoiding confusion while using both. ### Create the Pydantic *models* / schemas Create all the same Pydantic models as in the SQLAlchemy tutorial:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
fastapi/_compat.py
sequence_shapes = { SHAPE_LIST, SHAPE_SET, SHAPE_FROZENSET, SHAPE_TUPLE, SHAPE_SEQUENCE, SHAPE_TUPLE_ELLIPSIS, } sequence_shape_to_type = { SHAPE_LIST: list, SHAPE_SET: set, SHAPE_TUPLE: tuple, SHAPE_SEQUENCE: list, SHAPE_TUPLE_ELLIPSIS: list, } @dataclass
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
<img src="/img/python-types/image06.png"> ## Pydantic λͺ¨λΈ <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>μ λ°μ΄ν° κ²μ¦(Validation)μ μν νμ΄μ¬ λΌμ΄λΈλ¬λ¦¬μ λλ€. λΉμ μ μμ±λ€μ ν¬ν¨ν ν΄λμ€ ννλ‘ "λͺ¨μ(shape)"μ μ μΈν μ μμ΅λλ€. κ·Έλ¦¬κ³ κ° μμ±μ νμ μ κ°μ§κ³ μμ΅λλ€. μ΄ ν΄λμ€λ₯Ό νμ©νμ¬μ κ°μ κ°μ§κ³ μλ μΈμ€ν΄μ€λ₯Ό λ§λ€κ² λλ©΄, νμν κ²½μ°μλ μ λΉν νμ μΌλ‘ λ³νκΉμ§ μν€κΈ°λ νμ¬ λ°μ΄ν°κ° ν¬ν¨λ κ°μ²΄λ₯Ό λ°νν©λλ€. κ·Έλ¦¬κ³ κ²°κ³Ό κ°μ²΄μ λν΄μλ μλν°μ λμμ λ°μ μ μκ² λ©λλ€. Pydantic 곡μ λ¬Έμ μμ:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.5K bytes - Viewed (0)