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 how alarm_topic is fetched #20

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

rpmcginty
Copy link
Collaborator

What's in this Change?

Testing

Comment on lines +71 to +73
return self.alarm_topic
else:
return self._alarm_topic
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this just always return self._alarm_topic? Since there is an @alarm_topic.setter that sets self._alarm_topic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mypy complains so I would have to use cast. I figured I would just go with this route.

@njmei njmei self-requested a review August 2, 2024 02:07
@rpmcginty rpmcginty merged commit 65da335 into main Aug 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants