- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for finishTag (0.04 sec)
-
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | Technical Details
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.9K bytes - Viewed (0) -
scripts/people.py
people_path = Path("./docs/en/data/people.yml") updated = update_content(content_path=people_path, new_content=people) if not updated: logging.info("The data hasn't changed, finishing.") return logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java
* It uses Log4j2 for logging. * * <p> * The class contains methods for logging different types of events, such as: * </p> * <ul> * <li>Starting and finishing threads</li> * <li>Starting and cleaning up crawling</li> * <li>Handling unsupported URLs</li> * <li>Checking last modified dates</li> * <li>Getting content</li> * <li>Handling redirects</li>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 14K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
So, it is a generator function that transfers the "generating" work to something else internally. By doing it this way, we can put it in a `with` block, and that way, ensure that the file-like object is closed after finishing. /// tip Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`. /// ### `FileResponse` { #fileresponse }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.4K bytes - Viewed (0)