Rename method is_itde_running() to is_itde_ready().
Refactor function is_itde_running() to return an enum rather than a tuple (see below)
class ItdeContainerStatus(Enum):
EXISTS = 0
RUNNING = 1
This would also enable to handle the case not container_name or not network_name more explicitly by returning None or having an explicit enum value UNKNOWN or INVALID.
See also
89
92
Acceptance criteria
In file exasol/nb_connector/itde_manager.py
start_itde()
torestart_itde()
?is_itde_running()
tois_itde_ready()
.is_itde_running()
to return an enum rather than a tuple (see below)This would also enable to handle the case
not container_name or not network_name
more explicitly by returningNone
or having an explicit enum valueUNKNOWN
orINVALID
.