Skip to content

Conversation

@mrasic-telesign
Copy link
Contributor

No description provided.

return self.post(PHONEID_RESOURCE.format(phone_number=phone_number),
**params)

def _execute(self, method_function, method_name, resource, **params):
Copy link
Contributor

@jarradsl jarradsl Jan 22, 2018

Choose a reason for hiding this comment

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

Would prefer to see this incorporated into the base class RestClient function so that other endpoints can take advantage of it. If not, you need test coverage for this implementation.

return response

@staticmethod
def generate_telesign_headers(customer_id, api_key, method_name, resource, json_fields, date_rfc2616=None,
Copy link
Contributor

@jarradsl jarradsl Jan 22, 2018

Choose a reason for hiding this comment

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

Same here. The point of the staticmethod is that customers can extract this in entirety and use it in their own application if they would prefer not to use the SDK. Would prefer to see these changes incorporated into the base class RestClient function. If not, you need test coverage for this implementation.

@codecov-io
Copy link

codecov-io commented Jan 31, 2018

Codecov Report

Merging #11 into master will decrease coverage by 7.73%.
The diff coverage is 7.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   64.58%   56.84%   -7.74%     
==========================================
  Files           8        7       -1     
  Lines         144      146       +2     
  Branches        9       11       +2     
==========================================
- Hits           93       83      -10     
- Misses         49       60      +11     
- Partials        2        3       +1
Impacted Files Coverage Δ
telesign/phoneid.py 0% <0%> (ø) ⬆️
telesign/rest.py 94.36% <50%> (-1.35%) ⬇️
telesign/__init__.py

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f66428...7f86d38. Read the comment docs.

@vdamjanic vdamjanic merged commit 7f86d38 into master Feb 5, 2018
@release-at-telesign release-at-telesign deleted the feature/TSMD-8502_Python_PhoneID_SDK_change branch February 12, 2025 12:55
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.

5 participants