Skip to content

Commit 91022ee

Browse files
author
Johan Broberg
committed
fix: Remove unused imports and fix formatting in notifications package
1 parent 9a4bd0d commit 91022ee

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

libraries/microsoft-agents-a365-notifications/microsoft_agents_a365/notifications/agent_notification.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ async def handle_user_created(context, state, notification):
190190
print("New user created")
191191
```
192192
"""
193+
193194
def route_selector(context: TurnContext) -> bool:
194195
ch = context.activity.channel_id
195196
received_channel = ch.channel if ch else ""

libraries/microsoft-agents-a365-notifications/microsoft_agents_a365/notifications/models/agent_notification_activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
from typing import Any, Optional, Type, TypeVar
4+
from typing import Any, TypeVar
55
from microsoft_agents.activity import Activity
66

77
from .email_reference import EmailReference

libraries/microsoft-agents-a365-notifications/microsoft_agents_a365/notifications/models/email_reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
from typing import Optional, Literal
4+
from typing import Literal
55
from microsoft_agents.activity.entity import Entity
66

77
from .notification_types import NotificationTypes

libraries/microsoft-agents-a365-notifications/microsoft_agents_a365/notifications/models/wpx_comment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
from typing import Optional, Literal
4+
from typing import Literal
55
from microsoft_agents.activity.entity import Entity
66

77
from .notification_types import NotificationTypes

0 commit comments

Comments
 (0)