diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-20 13:02:50 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | de403deed73340f8068739dc240ebebfa1053872 (patch) | |
| tree | 75876f2021a05d454125ee1e6cf5d926ae19b86d /wrappers/python/eduvpn_common/state.py | |
| parent | 7e7472c30e09eed15424494547729c1f93bc924e (diff) | |
Wrappers Python: Implement V2 initial API
Diffstat (limited to 'wrappers/python/eduvpn_common/state.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/state.py | 32 |
1 files changed, 0 insertions, 32 deletions
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 |
