dev env undo
This commit is contained in:
parent
70ed33bb5b
commit
b64971d96d
2 changed files with 9 additions and 7 deletions
|
|
@ -18,14 +18,14 @@ class Constants:
|
||||||
|
|
||||||
# ticketing group:
|
# ticketing group:
|
||||||
TICKET_API_BASE_URL: Final[str] = os.environ.get(
|
TICKET_API_BASE_URL: Final[str] = os.environ.get(
|
||||||
# "TICKET_API_BASE_URL", "https://api.hydraveil.net"
|
"TICKET_API_BASE_URL", "https://api.hydraveil.net"
|
||||||
"TICKET_API_BASE_URL", "http://localhost:8000"
|
# "TICKET_API_BASE_URL", "http://localhost:8000"
|
||||||
)
|
)
|
||||||
|
|
||||||
SP_API_BASE_URL: Final[str] = os.environ.get('SP_API_BASE_URL', 'http://localhost:8000/api/v1')
|
# SP_API_BASE_URL: Final[str] = os.environ.get('SP_API_BASE_URL', 'http://localhost:8000/api/v1')
|
||||||
SP_BASE_URL: Final[str] = os.environ.get('SP_BASE_URL', 'http://localhost:8000/api')
|
# SP_BASE_URL: Final[str] = os.environ.get('SP_BASE_URL', 'http://localhost:8000/api')
|
||||||
# SP_API_BASE_URL: Final[str] = os.environ.get('SP_API_BASE_URL', 'https://api.hydraveil.net/api/v1')
|
SP_API_BASE_URL: Final[str] = os.environ.get('SP_API_BASE_URL', 'https://api.hydraveil.net/api/v1')
|
||||||
# SP_BASE_URL: Final[str] = os.environ.get('SP_BASE_URL', 'https://api.hydraveil.net/api')
|
SP_BASE_URL: Final[str] = os.environ.get('SP_BASE_URL', 'https://api.hydraveil.net/api')
|
||||||
|
|
||||||
PING_URL: Final[str] = os.environ.get('PING_URL', 'https://api.hydraveil.net/api/v1/health')
|
PING_URL: Final[str] = os.environ.get('PING_URL', 'https://api.hydraveil.net/api/v1/health')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,9 @@ def is_connected(profile_id: int) -> bool:
|
||||||
|
|
||||||
# session:
|
# session:
|
||||||
state_repo = ProfileStateRepository()
|
state_repo = ProfileStateRepository()
|
||||||
return state_repo.is_profile_active(profile_id)
|
is_session_connected = state_repo.is_profile_active(profile_id)
|
||||||
|
print(f"Is this session profile connected? {profile_id}")
|
||||||
|
return is_session_connected
|
||||||
|
|
||||||
|
|
||||||
def coordinate_evaluation(connection_observer: ConnectionObserver) -> Result:
|
def coordinate_evaluation(connection_observer: ConnectionObserver) -> Result:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue