Actions refactoring
think about how to change our state to make it more readable
Proposal:
class UpdateProcedureAction(Action):
def __call__(*args, **kwargs):
...
update_procedure = UpdateProcedureAction(*extra_things)
class State(BaseState):
def get_state_actions(**kw):
return self.state_actions
class Tendering(State):
state_actions = [
update_procedure,
....
]