Skip to content

Conversation

@axelsrz
Copy link
Member

@axelsrz axelsrz commented Dec 19, 2024

This pull request includes several changes to the microsoft-agents-protocols library, focusing on adding new components, updating configuration files, and renaming files for better organization. The most important changes include the addition of new client classes, updates to setup scripts, and the reorganization of existing files and modules.

Additions and Updates:

  • New Client Classes:

    • Added ConnectorClient class to handle Azure Bot Service Connector APIs, including operations for attachments, conversations, and connector internals. (libraries/Core/Protocols/microsoft-agents-protocols/microsoft/agents/protocols/connector/connector_client.py)
    • Added UserTokenClient class for handling user token operations, including bot sign-in and token internals. (libraries/Core/Protocols/microsoft-agents-protocols/microsoft/agents/protocols/connector/token/user_token_client.py)
  • Configuration and Setup:

    • Updated .flake8 configuration to exclude unnecessary files and directories. (.flake8)
    • Updated setup.py for microsoft-agents-client to use consistent quotation marks and correct dependencies. (libraries/Client/microsoft-agents-client/setup.py)
    • Added new setup.py for microsoft-agents-protocols with necessary dependencies and metadata. (libraries/Core/Protocols/microsoft-agents-protocols/setup.py)

Reorganization:

  • File Renaming:

    • Renamed activity_types.py to reflect its new location within the microsoft-agents-protocols directory. (libraries/Core/Protocols/microsoft-agents-protocols/microsoft/agents/protocols/activity_types.py)
  • Module Initialization:

    • Updated __init__.py files to include new imports and ensure proper module initialization for connector and token submodules. (libraries/Core/Protocols/microsoft-agents-protocols/microsoft/agents/protocols/connector/__init__.py, libraries/Core/Protocols/microsoft-agents-protocols/microsoft/agents/protocols/connector/token/__init__.py) [1] [2]

These changes enhance the functionality and organization of the microsoft-agents-protocols library, making it more modular and easier to maintain.

@axelsrz axelsrz marked this pull request as ready for review December 20, 2024 01:28
@axelsrz axelsrz merged commit 68dba57 into main Dec 20, 2024
4 checks passed
@axelsrz axelsrz deleted the users/axsuarez/client-generation branch December 20, 2024 23:25
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