15 lines
495 B
Python
15 lines
495 B
Python
from __future__ import annotations
|
|
|
|
from uuid import UUID
|
|
|
|
|
|
# Stable server-owned identity: a public session must never attach itself to an
|
|
# operator project merely because the display names happen to match.
|
|
PUBLIC_DEMO_PROJECT_ID = UUID("6f7e6f12-9b62-4a3f-a5a0-4b3bb6b2c901")
|
|
PUBLIC_DEMO_PROJECT_NAME = "GeoIntel Demo - Building QA"
|
|
PUBLIC_DEMO_PROJECT_MARKER = "geointel:public-demo:v1"
|
|
|
|
|
|
def is_public_demo_project(project_id: UUID) -> bool:
|
|
return project_id == PUBLIC_DEMO_PROJECT_ID
|