Skip to content

Conversation

RealOrangeOne
Copy link
Owner

This is a somewhat backwards partial solution for #19. result.result was always a big weird, so this instead separates it into 2 attributes:

  • .return_value is the return value from the task
  • .exception is the exception instance

This change is also reflected in the database worker, where 2 separate columns are used. A data migration is written to make this a seamless transition.

Copy link
Contributor

@jhthompson jhthompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely a nice improvement

@RealOrangeOne RealOrangeOne merged commit 9aa591f into master Aug 30, 2024
40 checks passed
@RealOrangeOne RealOrangeOne deleted the result-return-value branch August 30, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants