- Sort Score
- Result 10 results
- Languages All
Results 21 - 24 of 24 for commits (0.16 sec)
-
docs/ko/docs/tutorial/dependencies/index.md
## `Annotated`인 의존성 공유하기 위의 예제에서 몇몇 작은 **코드 중복**이 있다는 것을 보았을 겁니다. `common_parameters()`의존을 사용해야 한다면, 타입 명시와 `Depends()`와 함께 전체 매개변수를 적어야 합니다: ```Python commons: Annotated[dict, Depends(common_parameters)] ``` 하지만 `Annotated`를 사용하고 있기에, `Annotated` 값을 변수에 저장하고 여러 장소에서 사용할 수 있습니다: === "Python 3.10+" ```Python hl_lines="12 16 21"
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) -
.github/dependabot.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Apr 19 00:41:55 GMT 2024 - 311 bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python commons: CommonQueryParams = Depends(CommonQueryParams) ``` ...you write: === "Python 3.8+" ```Python commons: Annotated[CommonQueryParams, Depends()]
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.4K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
### Create data Now create utility functions to create data. The steps are: * Create a SQLAlchemy model *instance* with your data. * `add` that instance object to your database session. * `commit` the changes to the database (so that they are saved). * `refresh` your instance (so that it contains any new data from the database, like the generated ID). ```Python hl_lines="18-24 31-36"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0)