(20251122) Reverted formatting and added a semaphore.
This commit is contained in:
+7
-14
@@ -59,6 +59,9 @@ from backend.shared import constants
|
||||
# To make REST API calls:
|
||||
import httpx
|
||||
|
||||
# For asynchronous activities:
|
||||
import asyncio
|
||||
|
||||
# For debugging:
|
||||
from icecream import IceCreamDebugger
|
||||
|
||||
@@ -211,21 +214,11 @@ async def app_startup(**kwargs):
|
||||
# ┃┃┃┓┏┏
|
||||
# ┛ ┗┗┛┗
|
||||
|
||||
# cosec_creds = files.read_file(
|
||||
# file_path = os.path.join(
|
||||
# files.get_parent_directory(
|
||||
# path = files.get_file_directory(include_filename = False),
|
||||
# depth = 2
|
||||
# ),
|
||||
# "creds",
|
||||
# "cosec",
|
||||
# "cosec_velankani.json"
|
||||
# )
|
||||
# )
|
||||
# Semaphores:
|
||||
current_app.chrome_semaphore = asyncio.Semaphore(1)
|
||||
|
||||
# Helpers:
|
||||
muster_roll.init()
|
||||
# muster_roll.load(
|
||||
#
|
||||
# )
|
||||
|
||||
# ┏┓┓
|
||||
# ┃ ┃┏┓┏┓┏┓┓┏┏┓
|
||||
|
||||
Reference in New Issue
Block a user