diff --git a/scripts/json/check_json_issues.py b/scripts/json/check_json_issues.py index 2ae170bd2..b151800a4 100644 --- a/scripts/json/check_json_issues.py +++ b/scripts/json/check_json_issues.py @@ -1,5 +1,3 @@ -import json, os - # Fix issue when the parent element doesn't hae "properties" and the child element doesn't either def fixProperty(property): @@ -54,8 +52,4 @@ def checkJSONIssues(json_content): props = json_content['properties'] props = fixProperty(props) - return json_content - -# with open('../../_data/taps/schemas/xero/v1/json/allocations.json', 'r') as f: -# json_content = json.load(f) -# checkJSONIssues(json_content) \ No newline at end of file + return json_content \ No newline at end of file diff --git a/scripts/json/get_json_files.py b/scripts/json/get_json_files.py index dd6bf0325..bb9020cec 100644 --- a/scripts/json/get_json_files.py +++ b/scripts/json/get_json_files.py @@ -1,5 +1,4 @@ -import requests, re, base64, json, datetime, os, pandas, sys, zipfile, yaml, shutil -from datetime import datetime as dt +import requests, re, json, os, sys, zipfile, yaml, shutil from format_json import formatJSON from check_table_data import checkTableData from get_integration_data import getIntegrationData