(data: dict[str, Any], *, compact: bool = False)
| 56 | |
| 57 | |
| 58 | def _json_print(data: dict[str, Any], *, compact: bool = False) -> None: |
| 59 | if compact: |
| 60 | print(json.dumps(data, separators=(",", ":"), sort_keys=True)) |
| 61 | else: |
| 62 | print(json.dumps(data, indent=2, sort_keys=True)) |
| 63 | |
| 64 | |
| 65 | def _request_json( |
no outgoing calls
no test coverage detected