baodan/tmp/inspect_snapshot_gate.py

9 lines
223 B
Python

import json
from app import app
with app.app_context():
from insurance.plan_data.service import validate_snapshot
print(json.dumps(validate_snapshot(8, "1", for_confirmation=True), ensure_ascii=False, indent=2))