Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat: implements async client #5

Open
wants to merge 10 commits into
base: devel
Choose a base branch
from
Open

Conversation

guptadev21
Copy link
Contributor

@guptadev21 guptadev21 commented Dec 2, 2024

This pull request includes several changes to the rapyuta_io_sdk_v2 package, focusing on adding async capabilities, updating methods, and expanding test coverage. The most important changes include adding new dependencies, introducing the AsyncClient, updating method signatures, and adding async test cases.

Async Client Introduction:

Method Updates:

Test Coverage:

Azure Task: Resolves AB#35883

@guptadev21 guptadev21 requested review from a team as code owners December 2, 2024 10:51
@guptadev21 guptadev21 requested review from pallabpain and smrutisenapati and removed request for a team December 2, 2024 10:51
@guptadev21 guptadev21 self-assigned this Dec 2, 2024
@guptadev21 guptadev21 added the enhancement New feature or request label Dec 2, 2024
@pallabpain pallabpain changed the title ✨ Feat: Add Async Client ✨ feat: implements async client Dec 2, 2024
@@ -1102,10 +1113,15 @@ def create_revision(

@handle_and_munchify_response
def put_keys_in_revision(
self, name: str, revision_id: str, configValues: list[(object)], **kwargs
self, name: str, revision_id: str, configValues: list[(dict)], **kwargs
Copy link
Member

Choose a reason for hiding this comment

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

Use snake case for all Python objects and variables.

Suggested change
self, name: str, revision_id: str, configValues: list[(dict)], **kwargs
self, name: str, revision_id: str, config_values: list[(dict)], **kwargs

Copy link
Member

Choose a reason for hiding this comment

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

@guptadev21 Check in other places also. Make it consistent.

Args:
name (str): Config tree name
revision_id (str): Config tree revision ID
configTreeRevision (object): Config tree revision details
Copy link
Member

Choose a reason for hiding this comment

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

This should be config_tree_revision.

Suggested change
configTreeRevision (object): Config tree revision details
configTreeRevision (object): Config tree revision details

tests/utils/test_util.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants