Skip to content

Commit

Permalink
Add utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiforest committed Dec 30, 2024
1 parent 57c2dcf commit c02a076
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions curl_cffi/utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
_SHOW_WARNINGS = False


def enable_warnings():
global _SHOW_WARNINGS
_SHOW_WARNINGS = True


def disable_warnings():
global _SHOW_WARNINGS
_SHOW_WARNINGS = False

0 comments on commit c02a076

Please sign in to comment.