Renneke / xyzflow

Powerful but lightweight orchestration framework for python
Apache License 2.0
1 stars 0 forks source link

Throw an exception, if user forgot the evaluate a task #11

Closed tbrandtner closed 2 years ago

tbrandtner commented 2 years ago

Currently Task.result is initialized with None. If one checks Task.result, but forgot to evaluate it, it will return None. I think an exception would be more useful, because this will show the users that they forgot to evaluate the Task first.

Renneke commented 2 years ago

Exception has been added.