You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following from #388/#565, the serverless function for the API is now deployed with Python 3.12. Accordingly, there are a few new language features we could be using along with other things to update. These should ideally happen in phases rather than all at once.
General
Update checks workflow and Dockerfile to use Python 3.12
Check if overriding AsyncIOMotorClient.get_io_loop (mongodb_handler.py:23) is still necessary
Following from #388/#565, the serverless function for the API is now deployed with Python 3.12. Accordingly, there are a few new language features we could be using along with other things to update. These should ideally happen in phases rather than all at once.
General
AsyncIOMotorClient.get_io_loop
(mongodb_handler.py:23
) is still necessaryNew in Python 3.10
X | Y
) instead oftyping.Union
ImportTypeAlias
fromtyping
rather thantyping_extensions
New in Python 3.11
enum.StrEnum
.value
in some places or no longer need in others)assert_never
fromtyping
rather thantyping_extensions
New in Python 3.12
TypeAlias
with newtype
statementsitertools.batched
rather than our own copy inutils.batched
The text was updated successfully, but these errors were encountered: