1Password / connect-sdk-python

Python SDK for 1Password Connect
https://developer.1password.com/docs/connect
MIT License
200 stars 31 forks source link

Add TOTP field for the Field class #33

Closed edif2008 closed 2 years ago

edif2008 commented 2 years ago

Starting with Connect 1.4.0 we introduced the capability to get the totp value through Connect. Now the SDK supports that as well.

codecov-commenter commented 2 years ago

Codecov Report

Merging #33 (aeb8a42) into main (678d607) will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   76.08%   76.22%   +0.14%     
==========================================
  Files          21       21              
  Lines        1597     1607      +10     
==========================================
+ Hits         1215     1225      +10     
  Misses        382      382              
Impacted Files Coverage Δ
src/onepasswordconnectsdk/models/field.py 82.35% <100.00%> (+1.44%) :arrow_up:
src/tests/test_client_items.py 100.00% <100.00%> (ø)

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 678d607...aeb8a42. Read the comment docs.