IBM / python-sdk-core

The python-sdk-core repository contains core functionality required by Python code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
20 stars 27 forks source link

Add type annotations to parameters and return values #65

Closed rmkeezer closed 4 years ago

rmkeezer commented 4 years ago

ref: https://github.ibm.com/arf/planning-sdk-squad/issues/1598

Add Python 3.5 type annotations to parameters and return values.

I merged PR #61 into this branch so it includes those changes until I rebase when it is merged into v2.

codecov[bot] commented 4 years ago

Codecov Report

Merging #65 into v2 will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v2      #65      +/-   ##
==========================================
+ Coverage   97.89%   97.92%   +0.02%     
==========================================
  Files          17       17              
  Lines         617      625       +8     
==========================================
+ Hits          604      612       +8     
  Misses         13       13              
Impacted Files Coverage Δ
ibm_cloud_sdk_core/api_exception.py 100.00% <100.00%> (ø)
ibm_cloud_sdk_core/authenticators/authenticator.py 75.00% <100.00%> (ø)
...oud_sdk_core/authenticators/basic_authenticator.py 100.00% <100.00%> (ø)
..._core/authenticators/bearer_token_authenticator.py 100.00% <100.00%> (ø)
...loud_sdk_core/authenticators/cp4d_authenticator.py 100.00% <100.00%> (ø)
...cloud_sdk_core/authenticators/iam_authenticator.py 96.66% <100.00%> (ø)
...d_sdk_core/authenticators/no_auth_authenticator.py 100.00% <100.00%> (ø)
ibm_cloud_sdk_core/base_service.py 93.87% <100.00%> (ø)
ibm_cloud_sdk_core/cp4d_token_manager.py 100.00% <100.00%> (ø)
ibm_cloud_sdk_core/detailed_response.py 100.00% <100.00%> (ø)
... and 5 more

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 d724128...dde52ee. Read the comment docs.