INNER CODE UNIT · Python

_now

bunkeriot/BunkerM · backend/app/agent-api/main.py:164

def _now() -> str:
    return datetime.now(timezone.utc).isoformat()


# ─── App & shared state ───────────────────────────────────────────────────────

app = FastAPI(title="BunkerM Agent API")
scheduler = BackgroundScheduler()

_instance_id: str = ""
_activated: bool = False
_lock = Lock()


def _auth(x_api_key: str):
    if x_api_key != API_KEY:
        raise HTTPException(status_code=401, detail="Unauthorized")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…