Skip to content

Removing unused imports#459

Merged
kylerohn-msft merged 1 commit into
mainfrom
users/robrandao/removing-unused-imports
Jul 10, 2026
Merged

Removing unused imports#459
kylerohn-msft merged 1 commit into
mainfrom
users/robrandao/removing-unused-imports

Conversation

@rodrigobr-msft

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 10, 2026 16:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a small cleanup that removes unused imports across several libraries (hosting core, copilotstudio client, and MSAL authentication), reducing lint noise and keeping modules tidy.

Changes:

  • Removed unused imports (typing helpers, models, and other symbols) from multiple modules.
  • Simplified some import lines (e.g., dropping unused ABC, List, Dict, Callable, jwt, etc.).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/telemetry/core/_agents_telemetry.py Removes unused TurnContextProtocol import from telemetry core.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/transcript_store.py Removes unused ABC from abc imports.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/transcript_memory_store.py Removes unused List typing import.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/storage/store_item.py Removes unused Protocol / runtime_checkable imports.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/conversations_base.py Removes unused AttachmentInfo import.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/client/conversation_id_factory.py Removes unused Type import.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/channel_service_adapter.py Removes unused asyncio.sleep and UserTokenClientBase imports.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/oauth/telemetry/spans.py Removes unused AttributeMap import.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py Removes unused jwt import.
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/activity_handler.py Removes unused Awaitable import.
libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/copilot_client.py Removes unused Callable import.
libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/msal_connection_manager.py Removes unused Dict import.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rodrigobr-msft
rodrigobr-msft marked this pull request as ready for review July 10, 2026 16:56
@rodrigobr-msft
rodrigobr-msft requested a review from a team as a code owner July 10, 2026 16:56
@kylerohn-msft
kylerohn-msft merged commit 410fd94 into main Jul 10, 2026
12 checks passed
@kylerohn-msft
kylerohn-msft deleted the users/robrandao/removing-unused-imports branch July 10, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants