python3 compatibility + webapp to flask refactoring

This commit is contained in:
Kaan Soral
2024-01-27 20:37:44 +03:00
parent 5180a9c31c
commit 53b3de28ab
81 changed files with 11213 additions and 1085 deletions
+16
View File
@@ -0,0 +1,16 @@
import warnings
warnings.warn("The importers module is deprecated and will be removed in "
"version 2.0. Check the `util` module for json imports",
DeprecationWarning)
def import_json():
warnings.warn(
"'import_json function is deprecated and will be removed in version "
"2.0 of the Stripe python bindings. Please use"
"`from importer import json` instead'",
DeprecationWarning)
from libraries.stripe.util import json
return json