diff --git a/libraries/botbuilder-core/botbuilder/core/bot_framework_adapter.py b/libraries/botbuilder-core/botbuilder/core/bot_framework_adapter.py index b9a6574d8..688f7ccda 100644 --- a/libraries/botbuilder-core/botbuilder/core/bot_framework_adapter.py +++ b/libraries/botbuilder-core/botbuilder/core/bot_framework_adapter.py @@ -685,11 +685,11 @@ async def get_conversations(self, service_url: str, continuation_token: str = No :return: A task that represents the work queued to execute .. remarks:: - The channel server returns results in pages and each page will include a `continuationToken` that - can be used to fetch the next page of results from the server. - If the task completes successfully, the result contains a page of the members of the current conversation. - This overload may be called from outside the context of a conversation, as only the bot's service URL and - credentials are required. + The channel server returns results in pages and each page will include a `continuationToken` that + can be used to fetch the next page of results from the server. + If the task completes successfully, the result contains a page of the members of the current conversation. + This overload may be called from outside the context of a conversation, as only the bot's service URL and + credentials are required. """ client = await self.create_connector_client(service_url) return await client.conversations.get_conversations(continuation_token) diff --git a/libraries/botbuilder-core/botbuilder/core/bot_state.py b/libraries/botbuilder-core/botbuilder/core/bot_state.py index bf75ef2e8..7d429d9df 100644 --- a/libraries/botbuilder-core/botbuilder/core/bot_state.py +++ b/libraries/botbuilder-core/botbuilder/core/bot_state.py @@ -279,8 +279,7 @@ async def get( :param turn_context: The context object for this turn :type turn_context: :class:`botbuilder.core.TurnContext` - :param default_value_or_factory: Defines the default value when no value is set for the property - :type default_value_or_factory: :typing:Union + :param default_value_or_factory: Defines the default value for the property """ await self._bot_state.load(turn_context, False) try: @@ -307,7 +306,6 @@ async def set(self, turn_context: TurnContext, value: object) -> None: :type turn_context: :class:`botbuilder.core.TurnContext` :param value: The value to assign to the property - :type value: :typing:`Object` """ await self._bot_state.load(turn_context, False) await self._bot_state.set_property_value(turn_context, self._name, value)