From f152d42f66feb4120a0c231eb941a367a3bf2271 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 18 Oct 2022 10:55:34 +0200 Subject: Python: Add docstrings --- wrappers/python/eduvpn_common/state.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wrappers/python/eduvpn_common/state.py') 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 -- cgit v1.2.3