billdeitrick / pypco

A Python client for the Planning Center Online API.
MIT License
39 stars 13 forks source link

Make OrgToken more robust #65

Closed pastorhudson closed 1 year ago

pastorhudson commented 2 years ago

The OrganizationToken is short lived. On church center they get a new token for each request. This changes the behavior so that we also get a new token on each request for OrgToken Auth only.

codecov[bot] commented 2 years ago

Codecov Report

Merging #65 (0bd1029) into master (76eb3d0) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 0bd1029 differs from pull request most recent head 66d5faf. Consider uploading reports for the commit 66d5faf to get more accurate results

@@            Coverage Diff            @@
##            master       #65   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         4    -1     
  Lines          198       195    -3     
=========================================
- Hits           198       195    -3     
Impacted Files Coverage Δ
pypco/auth_config.py 100.00% <100.00%> (ø)
pypco/pco.py 100.00% <100.00%> (ø)
pypco/user_auth_helpers.py 100.00% <100.00%> (ø)
pypco/__init__.py

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

pastorhudson commented 1 year ago

I think this is good except for the pylint stuff and codecov not uploading. I don't know how to fix those for this branch.