catocli 2.1.4__py3-none-any.whl → 2.1.8__py3-none-any.whl

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.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

schema/catolib.py CHANGED
@@ -94,7 +94,7 @@ def parseSchema(schema):
94
94
  print(" - Loading settings and initializing...")
95
95
 
96
96
  # Load settings to get childOperationParent and childOperationObjects configuration
97
- settings = loadJSON("../clisettings.json")
97
+ settings = loadJSON("../catocli/clisettings.json")
98
98
  childOperationParent = settings.get("childOperationParent", {})
99
99
  childOperationObjects = settings.get("childOperationObjects", {})
100
100
 
@@ -968,7 +968,7 @@ def writeOperationParsers(catoApiSchema):
968
968
  parserMapping = {"query":{},"mutation":{}}
969
969
 
970
970
  # Load settings to get CSV-supported operations
971
- settings = loadJSON("../clisettings.json")
971
+ settings = loadJSON("../catocli/clisettings.json")
972
972
  csv_supported_operations = settings.get("queryOperationCsvOutput", {})
973
973
 
974
974
  ## Write the raw query parser ##
@@ -1363,7 +1363,7 @@ def renderSubParser(subParser, parentParserPath):
1363
1363
  if not isinstance(subParser, dict):
1364
1364
  return ""
1365
1365
 
1366
- settings = loadJSON("../clisettings.json")
1366
+ settings = loadJSON("../catocli/clisettings.json")
1367
1367
  csv_supported_operations = settings.get("queryOperationCsvOutput", {})
1368
1368
 
1369
1369
  cliDriverStr = f"""