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

fix: Fixed using of deprecated logging.warn() method #27882

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

Sai-Suraj-27
Copy link
Contributor

PR Description

logging.warn() has been deprecated since Python 3.3 and logging.warning() should be used.
The two functions are functionally equivalent, but logging.warn() is no longer considered the preferred way to log warnings.

Related Issue

Closes #27881

Checklist

  • Did you add a function?
  • Did you add the tests?
  • Did you run your tests and are your tests passing?
  • Did pre-commit not fail on any check?
  • Did you follow the steps we provided?

Socials

@KareemMAX KareemMAX merged commit 19e9f6e into Transpile-AI:main Jan 10, 2024
269 of 277 checks passed
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.

logging.warn() is deprecated and will be removed in the future, instead use logging.warning()
3 participants