-
Notifications
You must be signed in to change notification settings - Fork 182
feat: Group alerts by owner #1809
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
base: master
Are you sure you want to change the base?
feat: Group alerts by owner #1809
Conversation
@@ -38,12 +38,12 @@ class ElementaryCLI(click.MultiCommand): | |||
"run-operation": run_operation, | |||
} | |||
|
|||
def list_commands(self, ctx): | |||
return self._CMD_MAP.keys() | |||
def list_commands(self, ctx) -> list[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the changes here were because of some linting warnings from pyright I got
@@ -88,11 +88,11 @@ def __init__( | |||
|
|||
config = self._load_configuration() | |||
|
|||
self.target_dir = self._first_not_none( | |||
self.target_dir = str(self._first_not_none( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the changes here were because of some linting warnings from pyright I got
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a WIP because I don't have a valid Teams
user to test it, but I can finish it if you agree with the current implementation.
This is an initial implementation of what I proposed in #1808. It is only focused on
Slack
, but if you agree with what I did, I could also implement theTeams
support.