Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shutdown trigger and lifecycle tasks #83

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

devkral
Copy link
Contributor

@devkral devkral commented Oct 8, 2024

Changes:

  • fix wrong stacklevel of the loguru wrapper
  • add shutdown trigger type
  • add lifecycle task pattern
  • fix wrong Exception raised when maximal instances were surpassed
  • remove completly bogus exception (wrong name and context)
  • fix docs
  • update tests
  • bump python requirement to python 3.9
  • python >= 3.9 cleanup
  • fix instances calculation per scheduler not per executor
  • don't ignore invalid kwargs for executors
  • bump version

- add shutdown trigger type
- add lifecycle task pattern
- fix wrong Exception raised when maximal instances were surpassed
- remove completly bogus exception (wrong name and context)
- fix docs
- update tests
- execute tests only >= 3.9
- update pyproject.toml to py 3.9+
- remove duplicate keyword
- apply ruff python 3.9 upgrade
@devkral
Copy link
Contributor Author

devkral commented Oct 8, 2024

you may need to check the single commits. I applied the python 3.9 style changes of ruff.

@devkral devkral force-pushed the devkral/feature/shutdown_trigger branch from 89e92cc to ee6d405 Compare October 8, 2024 22:37
- fix instances calculation
- don't ignore invalid kwargs to executor anymore
- bump version
@devkral devkral merged commit 79a17f5 into main Oct 9, 2024
8 checks passed
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