diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-18 10:55:34 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-18 15:01:13 +0200 |
| commit | f152d42f66feb4120a0c231eb941a367a3bf2271 (patch) | |
| tree | 8b241ef210cb4916316502dd4c2d8959cc3d8346 /wrappers/python/eduvpn_common/state.py | |
| parent | d6b10d67deb142ad7dedeee9eebb66079b69e328 (diff) | |
Python: Add docstrings
Diffstat (limited to 'wrappers/python/eduvpn_common/state.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/state.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/state.py b/wrappers/python/eduvpn_common/state.py index dfa04c9..227d3c2 100644 --- a/wrappers/python/eduvpn_common/state.py +++ b/wrappers/python/eduvpn_common/state.py @@ -2,12 +2,18 @@ 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 |
