From 0a19c2dedcaaa177b420eac99149515d84508204 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 26 Sep 2022 16:47:35 +0200 Subject: Python: Move from src/ to eduvpn_common/ and absolufy imports --- wrappers/python/eduvpn_common/state.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create 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 new file mode 100644 index 0000000..5af004f --- /dev/null +++ b/wrappers/python/eduvpn_common/state.py @@ -0,0 +1,24 @@ +from enum import IntEnum + + +class StateType(IntEnum): + Enter = 1 + Leave = 2 + Wait = 3 + + +class State(IntEnum): + 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