- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Sleep (0.16 sec)
-
.github/actions/notify-translations/app/main.py
# Avoid race conditions with multiple labels sleep_time = random.random() * 10 # random number between 0 and 10 seconds logging.info( f"Sleeping for {sleep_time} seconds to avoid " "race conditions and multiple comments" ) time.sleep(sleep_time) # Get PR logging.debug(f"Processing PR: #{github_event.pull_request.number}")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 23:01:46 GMT 2023 - 12.4K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
def read_users(skip: int = 0, limit: int = 100): # Something goes here ``` ## Testing Peewee with async This example includes an extra *path operation* that simulates a long processing request with `time.sleep(sleep_time)`. It will have the database connection open at the beginning and will just wait some seconds before replying back. And each new request will wait one second less.
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 (0) -
docs/em/docs/how-to/sql-databases-peewee.md
```Python hl_lines="2" # Something goes here def read_users(skip: int = 0, limit: int = 100): # Something goes here ``` ## ๐ฌ ๐ โฎ๏ธ ๐ ๐ ๐ผ ๐ โ *โก ๐ ๏ธ* ๐ ๐ฌ ๐ ๐ญ ๐จ โฎ๏ธ `time.sleep(sleep_time)`. โซ๏ธ ๐ โ๏ธ ๐ฝ ๐ ๐ โถ๏ธ & ๐ โ ๐ฅ โญ ๐ ๐. & ๐ ๐ ๐จ ๐ โ ๐ ๐ฅ ๐. ๐ ๐ ๐ช โก๏ธ ๐ ๐ฏ ๐ ๐ ๐ฑ โฎ๏ธ ๐ & FastAPI ๐ญ โ โฎ๏ธ ๐ ๐ฉ ๐ ๐งต.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.2K bytes - Viewed (0)