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

fix: update sms vendor api client package #248

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

Ang-m4
Copy link
Contributor

@Ang-m4 Ang-m4 commented Feb 14, 2025

Description

I removed the unused sms_vendor module from the deprecated api_clients package. imports were updated.

Testing

I sent an SMS to check if the service was available. Although I didn't receive the expected response, the 401 status code is enough proof that it's working.

sms_vendor_test_eox_nelp

@github-actions github-actions bot added test size/m m lines label labels Feb 14, 2025
@Ang-m4 Ang-m4 requested a review from johanseto February 14, 2025 19:10
@Ang-m4 Ang-m4 marked this pull request as ready for review February 14, 2025 19:10
@@ -61,7 +61,7 @@ def _post_futurex_progress(data):
data (dict): dict to send to futurex enrollment-progress path.
"""
api_client = FuturexApiClient()
response = api_client.enrollment_progress(data)
response = api_client.enrollment_progress(data) # pylint: disable=no-member
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are you changing this line ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That line was changed because at some cases the GitHub checks as well as the local quality tests kept failing showing the Pylint no-member error.
Seems now that its not necessary.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I have tested the quality tests and if I remove this changes the result is the same, please revert this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it!

@Ang-m4 Ang-m4 force-pushed the afg/sms-vendor-removal branch from aa6d6a1 to 615c962 Compare February 24, 2025 14:13
@Ang-m4
Copy link
Contributor Author

Ang-m4 commented Feb 24, 2025

I updated the commit message as it now reflects the changes intention.

@Ang-m4 Ang-m4 requested a review from andrey-canon February 24, 2025 14:18
Copy link
Collaborator

@andrey-canon andrey-canon left a comment

Choose a reason for hiding this comment

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

LGTM

@Ang-m4 Ang-m4 merged commit f1bd0da into master Feb 24, 2025
7 checks passed
@Ang-m4 Ang-m4 deleted the afg/sms-vendor-removal branch February 24, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/m m lines label test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants