Skip to content

Commit 26602e0

Browse files
committed
Address CR feedback
1 parent 1403611 commit 26602e0

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3-
"""Djanjo Application Insights package."""
3+
"""Django Application Insights package."""
44

55
from .bot_telemetry_middleware import BotTelemetryMiddleware, retrieve_bot_body
66

libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/django/bot_telemetry_middleware.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ def retrieve_bot_body():
1212
Retrieve the POST body text from temporary cache.
1313
The POST body corresponds with the thread id and should resides in
1414
cache just for lifetime of request.
15-
16-
TODO: Add cleanup job to kill orphans
1715
"""
1816
result = _REQUEST_BODIES.pop(current_thread().ident, None)
1917
return result

libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/flask/flask_telemetry_middleware.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ def retrieve_flask_body():
1313
Retrieve the POST body text from temporary cache.
1414
The POST body corresponds with the thread id and should resides in
1515
cache just for lifetime of request.
16-
17-
TODO: Add cleanup job to kill orphans
1816
"""
1917
result = _REQUEST_BODIES.pop(current_thread().ident, None)
2018
return result

samples/python-flask/21.corebot-app-insights/dialogs/main_dialog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ async def act_step(self, step_context: WaterfallStepContext) -> DialogTurnResult
6060
"""Use language understanding to gather details about booking."""
6161
# Call LUIS and gather any potential booking details. (Note the TurnContext
6262
# has the response to the prompt.)
63-
print(f'LUIS HEKOPE: {self.telemetry_client._instrumentation_key}')
6463
booking_details = await LuisHelper.execute_luis_query(self._configuration,\
6564
step_context.context, self.telemetry_client) if step_context.result is not None\
6665
else BookingDetails() # pylint: disable=bad-continuation

0 commit comments

Comments
 (0)