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

Fix Types for bot.py #206

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Fix Types for bot.py #206

wants to merge 5 commits into from

Conversation

49Indium
Copy link
Member

@49Indium 49Indium commented Jul 5, 2024

Apscheduler has prerelease versions with typing. This PR prepares bot.py to pass pyright typing checks once apscheduler v4 is released for production. There are some additional breaking changes when moving to v4, which are fixed by this PR.

This PR should also fix the types surrounding aiohttp.

Note to test this PR before the production release of apscheduler, edit the pyproject.toml to use the dependency APScheduler = {version = "^4.0.0a1", allow-prereleases = true}.

To ensure that this is not closed before updating the version of apscheduler:

  • Update pyproject.toml to require apscheduler version ^4.0.0
  • Update pyright version

@49Indium 49Indium added dependencies Pull requests that update a dependency file enhancement update an existing command or cog for some new functionality labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement update an existing command or cog for some new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant