Skip to content

Fixing docstrings#105

Merged
axelsrz merged 4 commits intomainfrom
users/axsuarez/typing-docstrings-fix
Aug 27, 2025
Merged

Fixing docstrings#105
axelsrz merged 4 commits intomainfrom
users/axsuarez/typing-docstrings-fix

Conversation

@axelsrz
Copy link
Member

@axelsrz axelsrz commented Aug 27, 2025

This pull request updates type annotations across multiple model classes in the microsoft_agents/activity package. The main change is replacing references to types in the ~microsoft_agents.protocols.models namespace with references to types in the ~microsoft_agents.activity namespace, ensuring consistency and proper linkage within the codebase.

Type annotation updates for activity models:

  • Updated type annotations in Activity, ChannelAccount, ConversationAccount, ConversationMembers, ConversationParameters, ConversationReference, ConversationsResult, Mention, and related classes to use types from ~microsoft_agents.activity instead of ~microsoft_agents.protocols.models [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11].

Type annotation updates for card models:

  • Updated type annotations in AnimationCard, AudioCard, BasicCard, HeroCard, MediaCard, CardAction, and CardImage to use types from ~microsoft_agents.activity [1] [2] [3] [4] [5] [6] [7].

Type annotation updates for error and reply models:

  • Updated type annotations in AttachmentInfo, Error, ErrorResponse, and ExpectedReplies to use types from ~microsoft_agents.activity [1] [2] [3] [4].

@axelsrz axelsrz requested a review from rodrigobr-msft August 27, 2025 22:15
@axelsrz axelsrz merged commit cec8be4 into main Aug 27, 2025
5 checks passed
rodrigobr-msft pushed a commit that referenced this pull request Sep 16, 2025
* Fixing docstrings

* fixing import
rodrigobr-msft pushed a commit that referenced this pull request Sep 17, 2025
* Fixing docstrings

* fixing import
rodrigobr-msft added a commit that referenced this pull request Sep 17, 2025
* Fixing docstrings (#105)

* Fixing docstrings

* fixing import

* Fixing docstrings (#105)

* Fixing docstrings

* fixing import

---------

Co-authored-by: Axel Suárez <axsuarez@microsoft.com>
@cleemullins cleemullins deleted the users/axsuarez/typing-docstrings-fix branch October 2, 2025 21:05
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.

2 participants

Comments