- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for clock (0.17 sec)
-
docs/en/docs/tutorial/security/first-steps.md
<img src="/img/tutorial/security/image01.png"> !!! check "Authorize button!" You already have a shiny new "Authorize" button. And your *path operation* has a little lock in the top-right corner that you can click. And if you click it, you have a little authorization form to type a `username` and `password` (and other optional fields): <img src="/img/tutorial/security/image02.png"> !!! note
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/css/custom.css
.termynal-comment { color: #4a968f; font-style: italic; display: block; } .termy { /* For right to left languages */ direction: ltr; } .termy [data-termynal] { white-space: pre-wrap; } a.external-link { /* For right to left languages */ direction: ltr; display: inline-block; } a.external-link::after { /* \00A0 is a non-breaking space
CSS - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jan 28 09:53:45 GMT 2024 - 2.8K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image02.png" ) # --------------------- context.close()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 873 bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
We can also use this same approach to access the request body in an exception handler. All we need to do is handle the request inside a `try`/`except` block: ```Python hl_lines="13 15" {!../../../docs_src/custom_request_and_route/tutorial002.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/es/docs/index.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
2. `/tmp`를 현재의 워킹 디렉터리로 설정합니다. 이 위치에 우리는 `requirements.txt` 파일을 생성할 것입니다. 3. 이 도커 스테이지에서 Poetry를 설치합니다. 4. 파일 `pyproject.toml`와 `poetry.lock`를 `/tmp` 디렉터리로 복사합니다. `./poetry.lock*` (`*`로 끝나는) 파일을 사용하기 때문에, 파일이 아직 사용가능하지 않더라도 고장나지 않을 것입니다. 5. `requirements.txt` 파일을 생성합니다. 6. 이것이 마지막 스테이지로, 여기에 위치한 모든 것이 마지막 컨테이너 이미지에 포함될 것입니다. 7. 현재의 워킹 디렉터리를 `/code`로 설정합니다.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 42.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
```Python async def do_something(): try: yield something finally: some_cleanup() ``` ...that way the `finally` block is run regardless of any exception that might happen. ### Features
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Apr 28 00:28:00 GMT 2024 - 385.5K bytes - Viewed (1) -
scripts/playwright/separate_openapi_schemas/image01.py
context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png" ) # --------------------- context.close() browser.close()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 819 bytes - Viewed (0) -
docs/en/docs/advanced/events.md
```Python async with lifespan(app): await do_stuff() ``` When you create a context manager or an async context manager like above, what it does is that, before entering the `with` block, it will execute the code before the `yield`, and after exiting the `with` block, it will execute the code after the `yield`. In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
{!> ../../../docs_src/sql_databases/sql_app/main.py!} ``` !!! info We put the creation of the `SessionLocal()` and handling of the requests in a `try` block. And then we close it in the `finally` block. This way we make sure the database session is always closed after the request. Even if there was an exception while processing the request.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0)