- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for somt (0.13 sec)
-
docs/en/docs/tutorial/dependencies/index.md
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. In this case, this dependency expects: * An optional query parameter `q` that is a `str`. * An optional query parameter `skip` that is an `int`, and by default is `0`.
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/ko/docs/tutorial/dependencies/index.md
{!> ../../../docs_src/dependencies/tutorial001.py!} ``` 이게 다입니다. **단 두 줄입니다**. 그리고, 이 함수는 여러분의 모든 *경로 작동 함수*가 가지고 있는 것과 같은 형태와 구조를 가지고 있습니다. 여러분은 이를 "데코레이터"가 없는 (`@app.get("/some-path")`가 없는) *경로 작동 함수*라고 생각할 수 있습니다. 그리고 여러분이 원하는 무엇이든 반환할 수 있습니다. 이 경우, 이 의존성은 다음과 같은 경우를 기대합니다: * 선택적인 쿼리 매개변수 `q`, `str`을 자료형으로 가집니다. * 선택적인 쿼리 매개변수 `skip`, `int`를 자료형으로 가지며 기본 값은 `0`입니다.
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)