In python, default parameters are resolved once on startup. This causes some very jarring bugs, like the fact if we started the server in 2025, functions that have a default parameter that call the year will always have a year of 2025 until the server restarts. Find all the locations of this problem and fix it (ideally without making the ergonomics of the caller worse -- probably by doing a None check within the function).
In python, default parameters are resolved once on startup. This causes some very jarring bugs, like the fact if we started the server in 2025, functions that have a default parameter that call the year will always have a year of 2025 until the server restarts. Find all the locations of this problem and fix it (ideally without making the ergonomics of the caller worse -- probably by doing a None check within the function).