from __future__ import annotations import socket from uuid import uuid4 INSTANCE_ID = f"{socket.gethostname()}:{uuid4().hex[:12]}"