8000 adding generated files with reverted from_property · pankajit/botbuilder-python@c383b43 · GitHub
[go: up one dir, main page]

Skip to content

Commit c383b43

Browse files
committed
adding generated files with reverted from_property
1 parent d339b7d commit c383b43

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

libraries/botbuilder-schema/botbuilder/schema/activity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class Activity(Model):
4242
:param channel_id: Contains an ID that uniquely identifies the channel.
4343
Set by the channel.
4444
:type channel_id: str
45-
:param from: Identifies the sender of the message.
46-
:type from: ~botframework.connector.models.ChannelAccount
45+
:param from_property: Identifies the sender of the message.
46+
:type from_property: ~botframework.connector.models.ChannelAccount
4747
:param conversation: Identifies the conversation to which the activity
4848
belongs.
4949
:type conversation: ~botframework.connector.models.ConversationAccount
@@ -153,7 +153,7 @@ class Activity(Model):
153153
'local_timezone': {'key': 'localTimezone', 'type': 'str'},
154154
'service_url': {'key': 'serviceUrl', 'type': 'str'},
155155
'channel_id': {'key': 'channelId', 'type': 'str'},
156-
'from': {'key': 'from', 'type': 'ChannelAccount'},
156+
'from_property': {'key': 'from', 'type': 'ChannelAccount'},
157157
'conversation': {'key': 'conversation', 'type': 'ConversationAccount'},
158158
'recipient': {'key': 'recipient', 'type': 'ChannelAccount'},
159159
'text_format': {'key': 'textFormat', 'type': 'str'},
@@ -198,7 +198,7 @@ def __init__(self, **kwargs):
198198
self.local_timezone = kwargs.get('local_timezone', None)
199199
self.service_url = kwargs.get('service_url', None)
200200
self.channel_id = kwargs.get('channel_id', None)
201-
self.from = kwargs.get('from', None)
201+
self.from_property = kwargs.get('from_property', None)
202202
self.conversation = kwargs.get('conversation', None)
203203
self.recipient = kwargs.get('recipient', None)
204204
self.text_format = kwargs.get('text_format', None)

libraries/botbuilder-schema/botbuilder/schema/activity_py3.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class Activity(Model):
4242
:param channel_id: Contains an ID that uniquely identifies the channel.
4343
Set by the channel.
4444
:type channel_id: str
45-
:param from: Identifies the sender of the message.
46-
:type from: ~botframework.connector.models.ChannelAccount
45+
:param from_property: Identifies the sender of the message.
46+
:type from_property: ~botframework.connector.models.ChannelAccount
4747
:param conversation: Identifies the conversation to which the activity
4848
belongs.
4949
:type conversation: ~botframework.connector.models.ConversationAccount
@@ -153,7 +153,7 @@ class Activity(Model):
153153
'local_timezone': {'key': 'localTimezone', 'type': 'str'},
154154
'service_url': {'key': 'serviceUrl', 'type': 'str'},
155155
'channel_id': {'key': 'channelId', 'type': 'str'},
156-
'from': {'key': 'from', 'type': 'ChannelAccount'},
156+
'from_property': {'key': 'from', 'type': 'ChannelAccount'},
157157
'conversation': {'key': 'conversation', 'type': 'ConversationAccount'},
158158
'recipient': {'key': 'recipient', 'type': 'ChannelAccount'},
159159
'text_format': {'key': 'textFormat', 'type': 'str'},
@@ -189,7 +189,7 @@ class Activity(Model):
189189
'semantic_action': {'key': 'semanticAction', 'type': 'SemanticAction'},
190190
}
191191

192-
def __init__(self, *, type=None, id: str=None, timestamp=None, local_timestamp=None, local_timezone: str=None, service_url: str=None, channel_id: str=None, from=None, conversation=None, recipient=None, text_format=None, attachment_layout=None, members_added=None, members_removed=None, reactions_added=None, reactions_removed=None, topic_name: str=None, history_disclosed: bool=None, locale: str=None, text: str=None, speak: str=None, input_hint=None, summary: str=None, suggested_actions=None, attachments=None, entities=None, channel_data=None, action: str=None, reply_to_id: str=None, label: str=None, value_type: str=None, value=None, name: str=None, relates_to=None, code=None, expiration=None, importance=None, delivery_mode=None, listen_for=None, text_highlights=None, semantic_action=None, **kwargs) -> None:
192+
def __init__(self, *, type=None, id: str=None, timestamp=None, local_timestamp=None, local_timezone: str=None, service_url: str=None, channel_id: str=None, from_property=None, conversation=None, recipient=None, text_format=None, attachment_layout=None, members_added=None, members_removed=None, reactions_added=None, reactions_removed=None, topic_name: str=None, history_disclosed: bool=None, locale: str=None, text: str=None, speak: str=None, input_hint=None, summary: str=None, suggested_actions=None, attachments=None, entities=None, channel_data=None, action: str=None, reply_to_id: str=None, label: str=None, value_type: str=None, value=None, name: str=None, relates_to=None, code=None, expiration=None, importance=None, delivery_mode=None, listen_for=None, text_highlights=None, semantic_action=None, **kwargs) -> None:
193193
super(Activity, self).__init__(**kwargs)
194194
self.type = type
195195
self.id = id
@@ -198,7 +198,7 @@ def __init__(self, *, type=None, id: str=None, timestamp=None, local_timestamp=N
198198
self.local_timezone = local_timezone
199199
self.service_url = service_url
200200
self.channel_id = channel_id
201-
self.from = from
201+
self.from_property = from_property
202202
self.conversation = conversation
203203
self.recipient = recipient
204204
self.text_format = text_format

0 commit comments

Comments
 (0)
0