Skip to content

Fix Default Parameter Bugs #85

Description

@CubeTures

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions