Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions Adyen/services/binlookup/bin_lookup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@
"""
Check if 3D Secure is available
"""
endpoint = self.baseUrl + "/get3dsAvailability"
endpoint = self.baseUrl + f"/get3dsAvailability"

Check warning on line 20 in Adyen/services/binlookup/bin_lookup_api.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add replacement fields or use a normal string instead of an f-string.

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-python-api-library&issues=AZ0K0zYX63pryTICbPq0&open=AZ0K0zYX63pryTICbPq0&pullRequest=451
method = "POST"
return self.client.call_adyen_api(
request, self.service, method, endpoint, idempotency_key, **kwargs
)
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

def get_cost_estimate(self, request, idempotency_key=None, **kwargs):
"""
Get a fees cost estimate
"""
endpoint = self.baseUrl + "/getCostEstimate"
endpoint = self.baseUrl + f"/getCostEstimate"

Check warning on line 28 in Adyen/services/binlookup/bin_lookup_api.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add replacement fields or use a normal string instead of an f-string.

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-python-api-library&issues=AZ0K0zYX63pryTICbPq1&open=AZ0K0zYX63pryTICbPq1&pullRequest=451
method = "POST"
return self.client.call_adyen_api(
request, self.service, method, endpoint, idempotency_key, **kwargs
)
return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs)

Loading