Skip to content

SimulationArgs.publish_period and interval typed int but default None (mypy error) #208

Description

@craigpnnl

gridappsd-python-lib/gridappsd/simulation.py lines 61 to 62: publish_period: int = field(default=None) and interval: int = field(default=None) are typed int but defaulted None, producing 2 mypy errors on origin/develop. This is pre-existing and unrelated to the stomp callback fix in #207.

Suggested fix: retype both fields as int | None. Low effort, isolated change.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions