6 lines
165 B
Python
6 lines
165 B
Python
from flask import jsonify
|
|
|
|
|
|
def output_wrapped(status: int = 0, message: str = "", data: object = None):
|
|
return jsonify(code=status, message=message, data=data)
|