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 a method to unwrap shim classes #10

Merged
merged 1 commit into from
Jun 15, 2020
Merged

Add a method to unwrap shim classes #10

merged 1 commit into from
Jun 15, 2020

Conversation

pganssle
Copy link
Owner

@pganssle pganssle commented Jun 15, 2020

I didn't really want to go beyond the standard pytz protocol, but I realized that in order for someone to use helpers.upgrade_tzinfo, they would need a direct (not just a transitive) dependency on pytz_deprecation_shim, whereas a method on the shim will work even if the library you are calling has stopped returning shims (assuming you call it only if the method is present).

@pganssle pganssle merged commit ccbe3da into master Jun 15, 2020
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.

None yet

1 participant