Skip to content

[Cherry-pick] Fixing docstrings - #129

Merged
Rodrigo Brandão (rodrigobr-msft) merged 3 commits into
release/0.3.0from
users/robrandao/0.3.0/cherry-pick-2
Sep 17, 2025
Merged

[Cherry-pick] Fixing docstrings#129
Rodrigo Brandão (rodrigobr-msft) merged 3 commits into
release/0.3.0from
users/robrandao/0.3.0/cherry-pick-2

Conversation

@rodrigobr-msft

Copy link
Copy Markdown
Contributor

Python Model Type Reference Refactoring:

  • Refactored docstring type hints throughout the microsoft_agents.activity Python library to reference local types (e.g., ~microsoft_agents.activity.ChannelAccount) instead of ~microsoft_agents.protocols.models.*, improving clarity and reducing cross-module dependencies. This change affects the following files and classes:
    • activity.py (Activity) [1] [2] [3] [4]
    • animation_card.py (AnimationCard)
    • attachment_info.py (AttachmentInfo)
    • audio_card.py (AudioCard)
    • basic_card.py (BasicCard)
    • card_action.py (CardAction)
    • card_image.py (CardImage)
    • channel_account.py (ChannelAccount)
    • conversation_account.py (ConversationAccount)
    • conversation_members.py (ConversationMembers)
    • conversation_parameters.py (ConversationParameters)
    • conversation_reference.py (ConversationReference)
    • conversations_result.py (ConversationsResult)
    • error.py (Error)
    • error_response.py (ErrorResponse)
    • expected_replies.py (ExpectedReplies)
    • hero_card.py (HeroCard)

* Fixing docstrings

* fixing import
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) marked this pull request as ready for review September 16, 2025 21:17
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) merged commit ad17072 into release/0.3.0 Sep 17, 2025
8 checks passed
@cleemullins
Chris Mullins (cleemullins) deleted the users/robrandao/0.3.0/cherry-pick-2 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.

3 participants