8000 black · ericmicrofocus/botbuilder-python@6c4e1df · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c4e1df

Browse files
committed
black
1 parent 2010a15 commit 6c4e1df

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

libraries/botbuilder-core/botbuilder/core/teams/teams_activity_extensions.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
# Licensed under the MIT License.
33

44
from botbuilder.schema import Activity
5-
from botbuilder.schema.teams import NotificationInfo, TeamsChannelData, TeamInfo, TeamsMeetingInfo
5+
from botbuilder.schema.teams import (
6< 8000 span class="diff-text-marker">+
NotificationInfo,
7+
TeamsChannelData,
8+
TeamInfo,
9+
TeamsMeetingInfo,
10+
)
611

712

813
def teams_get_channel_data(activity: Activity) -> TeamsChannelData:

libraries/botbuilder-core/botbuilder/core/teams/teams_info.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ async def get_meeting_participant(
221221
)
222222

223223
connector_client = await TeamsInfo.get_teams_connector_client(turn_context)
224-
return connector_client.teams.fetch_participant(meeting_id, participant_id, tenant_id)
224+
return connector_client.teams.fetch_participant(
225+
meeting_id, participant_id, tenant_id
226+
)
225227

226228
@staticmethod
227229
async def get_teams_connector_cli 8000 ent(

libraries/botbuilder-core/tests/teams/test_teams_info.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,12 @@ async def test_get_participant(self):
207207
type="message",
208208
text="Test-get_participant",
209209
channel_id=Channels.ms_teams,
210-
from_property=ChannelAccount(
211-
aad_object_id="participantId-1"
212-
),
213-
channel_data={"meeting": {"id": "meetingId-1"}, "tenant": {"id": "tenantId-1"}},
214-
service_url="https://test.coffee"
210+
from_property=ChannelAccount(aad_object_id="participantId-1"),
211+
channel_data={
212+
"meeting": {"id": "meetingId-1"},
213+
"tenant": {"id": "tenantId-1"},
214+
},
215+
service_url="https://test.coffee",
215216
)
216217

217218
turn_context = TurnContext(adapter, activity)

libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
# Licensed under the MIT License.
33

44
from msrest.serialization import Model
5-
from botbuilder.schema import Activity, Attachment, ChannelAccount, PagedMembersResult, ConversationAccount
5+
from botbuilder.schema import (
6+
Activity,
7+
Attachment,
8+
ChannelAccount,
9+
PagedMembersResult,
10+
ConversationAccount,
11+
)
612

713

814
class TaskModuleRequest(Model):

0 commit comments

Comments
 (0)
0