From de403deed73340f8068739dc240ebebfa1053872 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 20 Mar 2023 13:02:50 +0100 Subject: Wrappers Python: Implement V2 initial API --- wrappers/python/eduvpn_common/state.py | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 wrappers/python/eduvpn_common/state.py (limited to 'wrappers/python/eduvpn_common/state.py') diff --git a/wrappers/python/eduvpn_common/state.py b/wrappers/python/eduvpn_common/state.py deleted file mode 100644 index 21573f7..0000000 --- a/wrappers/python/eduvpn_common/state.py +++ /dev/null @@ -1,32 +0,0 @@ -from enum import IntEnum - - -class StateType(IntEnum): - """ - The State Type enum. Wait types are mostly used for internal code - """ - - ENTER = 1 - LEAVE = 2 - WAIT = 3 - - -class State(IntEnum): - """ - The State enum. Each state here also exists in the Go library - """ - - DEREGISTERED = 0 - NO_SERVER = 1 - ASK_LOCATION = 2 - SEARCH_SERVER = 3 - LOADING_SERVER = 4 - CHOSEN_SERVER = 5 - OAUTH_STARTED = 6 - AUTHORIZED = 7 - REQUEST_CONFIG = 8 - ASK_PROFILE = 9 - DISCONNECTED = 10 - DISCONNECTING = 11 - CONNECTING = 12 - CONNECTED = 13 -- cgit v1.2.3