fix_errors
This commit is contained in:
parent
6cd2205f1f
commit
acb1eab24e
|
@ -148,7 +148,7 @@ def validate_schema(input_schema, output_schema):
|
||||||
request_data = request.get_json()
|
request_data = request.get_json()
|
||||||
else:
|
else:
|
||||||
request_data = request.args
|
request_data = request.args
|
||||||
print(data)
|
|
||||||
data, errors = input_schema.load(request_data)
|
data, errors = input_schema.load(request_data)
|
||||||
|
|
||||||
if errors:
|
if errors:
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
# the 'revision' command, regardless of autogenerate
|
# the 'revision' command, regardless of autogenerate
|
||||||
# revision_environment = false
|
# revision_environment = false
|
||||||
|
|
||||||
script_location = .
|
|
||||||
# Logging configuration
|
# Logging configuration
|
||||||
[loggers]
|
[loggers]
|
||||||
keys = root,sqlalchemy,alembic
|
keys = root,sqlalchemy,alembic
|
||||||
|
|
Loading…
Reference in New Issue