Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API token double check, cache reset of load_config if updated. #14

Merged
merged 5 commits into from
Apr 19, 2022

Conversation

emirkmo
Copy link
Member

@emirkmo emirkmo commented Apr 19, 2022

we reset the lru_cache if using any of the setters for the config file so that the same running instance of tendrils can use the updated config info.

We also added some basic checking to the get api token call to query the user for a valid token if the token is default None, or one of the known invalid ones.

@emirkmo emirkmo self-assigned this Apr 19, 2022
@emirkmo
Copy link
Member Author

emirkmo commented Apr 19, 2022

Verified and published to PyPI.

@emirkmo emirkmo merged commit dc8e4c4 into main Apr 19, 2022
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.

1 participant