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

Raise deprecation warning only when attribute is accessed #155

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

Conversation

cedk
Copy link

@cedk cedk commented Jun 8, 2024

Fixes #148

Summary

Importing the library should not trigger any deprecation warning but only when accessing the deprecated attribute.

Checklist

  • Added changelog entry
  • Ran unit tests (python3 -m unittest discover tests/unit)
  • I understand that unless this is a Draft PR or has a DO NOT MERGE label, this PR is considered to be in a deploy ready state and can be deployed if merged to main

@cedk
Copy link
Author

cedk commented Jul 30, 2024

ping

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.

Can't upgrade to Braintree 4.18.1 / Python 3.10.9 (DeprecationWarning: Use ProtectionLevel enum instead)
1 participant