acecalisto3 commited on
Commit
b04b767
·
verified ·
1 Parent(s): f98c4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -19,7 +19,9 @@ import http.client
19
  from functools import lru_cache
20
  import json
21
  from concurrent.futures import ThreadPoolExecutor
22
- from warnings import warn, UserWarning
 
 
23
 
24
  # Example usage
25
  warn("This is a user warning", UserWarning)
 
19
  from functools import lru_cache
20
  import json
21
  from concurrent.futures import ThreadPoolExecutor
22
+ UserWarning
23
+ class 'UserWarning'
24
+
25
 
26
  # Example usage
27
  warn("This is a user warning", UserWarning)