-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
qualityIssues related to code quality, but not affecting correctness or performanceIssues related to code quality, but not affecting correctness or performance
Description
Let's make the component status indicator variable more helpful, so instead of 0 (not yet run), 1 (complete), and 2 (error) we could do something like add constants to constants.py, e.g.
class STATUS():
PENDING = 0
COMPLETE = 1
ERROR = 2Then something like:
from cassandra.constants import STATUS
...
if component.status == STATUS.COMPLETE:
# do somethingReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
qualityIssues related to code quality, but not affecting correctness or performanceIssues related to code quality, but not affecting correctness or performance