tina4-python 0.1.74__tar.gz → 0.1.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tina4_python-0.1.74 → tina4_python-0.1.76}/PKG-INFO +1 -1
- {tina4_python-0.1.74 → tina4_python-0.1.76}/pyproject.toml +1 -1
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Router.py +3 -3
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Webserver.py +6 -2
- {tina4_python-0.1.74 → tina4_python-0.1.76}/README.md +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Auth.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Constant.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Database.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/DatabaseResult.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Debug.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Env.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Localization.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Messages.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Migration.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Request.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Response.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Session.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/ShellColors.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Swagger.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/Template.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/__init__.py +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/messages.pot +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/css/readme.md +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/favicon.ico +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/images/403.png +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/images/404.png +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/images/logo.png +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/images/readme.md +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/js/readme.md +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/swagger/index.html +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/swagger/oauth2-redirect.html +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/templates/errors/403.twig +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/templates/errors/404.twig +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/templates/readme.md +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/en/LC_MESSAGES/messages.mo +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/en/LC_MESSAGES/messages.po +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/fr/LC_MESSAGES/messages.mo +0 -0
- {tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/fr/LC_MESSAGES/messages.po +0 -0
|
@@ -205,7 +205,7 @@ def put(path):
|
|
|
205
205
|
:param path:
|
|
206
206
|
:return:
|
|
207
207
|
"""
|
|
208
|
-
def actual_put(
|
|
208
|
+
def actual_put(callback):
|
|
209
209
|
route_paths = path.split('|')
|
|
210
210
|
for route_path in route_paths:
|
|
211
211
|
Router.add(Constant.TINA4_PUT, route_path, callback)
|
|
@@ -220,7 +220,7 @@ def patch(path):
|
|
|
220
220
|
:param path:
|
|
221
221
|
:return:
|
|
222
222
|
"""
|
|
223
|
-
def actual_patch(
|
|
223
|
+
def actual_patch(callback):
|
|
224
224
|
route_paths = path.split('|')
|
|
225
225
|
for route_path in route_paths:
|
|
226
226
|
Router.add(Constant.TINA4_PATCH, route_path, callback)
|
|
@@ -235,7 +235,7 @@ def delete(path):
|
|
|
235
235
|
:param path:
|
|
236
236
|
:return:
|
|
237
237
|
"""
|
|
238
|
-
def actual_delete(
|
|
238
|
+
def actual_delete(callback):
|
|
239
239
|
route_paths = path.split('|')
|
|
240
240
|
for route_path in route_paths:
|
|
241
241
|
Router.add(Constant.TINA4_DELETE, route_path, callback)
|
|
@@ -38,8 +38,12 @@ class Webserver:
|
|
|
38
38
|
body = {}
|
|
39
39
|
variables = content.split("&")
|
|
40
40
|
for variable in variables:
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
variable_value = variable.split("=", 1) # hello=1,2,3,4=50505
|
|
42
|
+
if len(variable) > 1:
|
|
43
|
+
body[variable_value[0]] = unquote(variable_value[1])
|
|
44
|
+
else:
|
|
45
|
+
body[variable] = None
|
|
46
|
+
|
|
43
47
|
return body
|
|
44
48
|
|
|
45
49
|
return content
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/public/swagger/oauth2-redirect.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/en/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/en/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/fr/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{tina4_python-0.1.74 → tina4_python-0.1.76}/tina4_python/translations/fr/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|