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

store path in self.path (currently it's always None) #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

davidc
Copy link

@davidc davidc commented Jul 2, 2022

No description provided.

Copy link
Owner

@mcb30 mcb30 left a comment

Choose a reason for hiding this comment

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

This goes against the idea that path is an optional InitVar that the caller may use to initialise file. There is nothing within HmrcTokenFileStorage that requires a file with an associated path: only a file-like object is needed.

At a minimum, the patch would have to also remove the InitVar declaration.

What is the motivation for having an HmrcTokenFileStorage object expose the path to the token?

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.

2 participants