Skip to content

Update EmailResponse object based on documentation#144

Merged
tirthdoshi009 merged 3 commits intomainfrom
users/tirthdoshi/emailresponseobject-bug
Jan 6, 2026
Merged

Update EmailResponse object based on documentation#144
tirthdoshi009 merged 3 commits intomainfrom
users/tirthdoshi/emailresponseobject-bug

Conversation

@tirthdoshi009
Copy link
Contributor

@tirthdoshi009 tirthdoshi009 commented Jan 6, 2026

Why

Previous imports pointed to incorrect namespaces, causing ImportError for missing classes. This change aligns with the official SDK structure and ensures compatibility with the latest versions.

Documentation referred

https://learn.microsoft.com/en-us/python/api/microsoft-agents-activity/microsoft_agents.activity?view=agent-sdk-python-latest
https://learn.microsoft.com/en-us/python/api/microsoft-agents-a365-notifications/microsoft_agents_a365.notifications?view=agent365-sdk-python-latest

Copilot AI review requested due to automatic review settings January 6, 2026 16:52
@tirthdoshi009 tirthdoshi009 requested a review from a team as a code owner January 6, 2026 16:52
Copy link
Contributor

Copilot AI left a comment

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 updates the import location of EmailResponse to align with the official documentation. The change moves EmailResponse from microsoft_agents_a365.notifications.agent_notification to microsoft_agents_a365.notifications, reflecting the correct module structure. Additionally, the PR consolidates the ActivityTypes import onto the same line as Activity for improved code organization.

Key Changes:

  • Moved EmailResponse import to the correct module path (microsoft_agents_a365.notifications)
  • Consolidated ActivityTypes import with Activity import on a single line

@tirthdoshi009 tirthdoshi009 enabled auto-merge (squash) January 6, 2026 19:23
@tirthdoshi009 tirthdoshi009 merged commit aceff4a into main Jan 6, 2026
9 of 10 checks passed
@tirthdoshi009 tirthdoshi009 deleted the users/tirthdoshi/emailresponseobject-bug branch January 6, 2026 20:20
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.

4 participants