Skip to content

refactor: unified all json.(loads|dumps) usage to utils.json

Eyal Ezer 85e6fab
Codecov / codecov/patch succeeded May 24, 2024 in 1s

78.76% of diff hit (target 60.48%)

View this Pull Request on Codecov

78.76% of diff hit (target 60.48%)

Annotations

Check warning on line 173 in superset/charts/data/api.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/charts/data/api.py#L173

Added line #L173 was not covered by tests

Check warning on line 67 in superset/commands/chart/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/chart/export.py#L67

Added line #L67 was not covered by tests

Check warning on line 120 in superset/commands/chart/importers/v1/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/chart/importers/v1/utils.py#L120

Added line #L120 was not covered by tests

Check warning on line 129 in superset/commands/dashboard/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/dashboard/export.py#L129

Added line #L129 was not covered by tests

Check warning on line 179 in superset/commands/dashboard/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/dashboard/export.py#L179

Added line #L179 was not covered by tests

Check warning on line 40 in superset/commands/database/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/database/export.py#L40

Added line #L40 was not covered by tests

Check warning on line 85 in superset/commands/database/validate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/database/validate.py#L85

Added line #L85 was not covered by tests

Check warning on line 66 in superset/commands/dataset/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/dataset/export.py#L66

Added line #L66 was not covered by tests

Check warning on line 73 in superset/commands/dataset/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/dataset/export.py#L73

Added line #L73 was not covered by tests

Check warning on line 111 in superset/commands/dataset/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/dataset/export.py#L111

Added line #L111 was not covered by tests

Check warning on line 93 in superset/commands/query/export.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/commands/query/export.py#L93

Added line #L93 was not covered by tests

Check warning on line 1052 in superset/connectors/sqla/models.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/connectors/sqla/models.py#L1052

Added line #L1052 was not covered by tests

Check warning on line 352 in superset/databases/schemas.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/databases/schemas.py#L352

Added line #L352 was not covered by tests

Check warning on line 24 in superset/examples/bart_lines.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/bart_lines.py#L24

Added line #L24 was not covered by tests

Check warning on line 21 in superset/examples/deck.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/deck.py#L21

Added line #L21 was not covered by tests

Check warning on line 21 in superset/examples/misc_dashboard.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/misc_dashboard.py#L21

Added line #L21 was not covered by tests

Check warning on line 24 in superset/examples/paris.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/paris.py#L24

Added line #L24 was not covered by tests

Check warning on line 24 in superset/examples/sf_population_polygons.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/sf_population_polygons.py#L24

Added line #L24 was not covered by tests

Check warning on line 29 in superset/examples/supported_charts_dashboard.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/supported_charts_dashboard.py#L29

Added line #L29 was not covered by tests

Check warning on line 23 in superset/examples/tabbed_dashboard.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/examples/tabbed_dashboard.py#L23

Added line #L23 was not covered by tests

Check warning on line 168 in superset/migrations/shared/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/migrations/shared/utils.py#L168

Added line #L168 was not covered by tests

Check warning on line 603 in superset/models/core.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/models/core.py#L603

Added line #L603 was not covered by tests

Check warning on line 598 in superset/models/helpers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/models/helpers.py#L598

Added line #L598 was not covered by tests

Check warning on line 291 in superset/models/slice.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/models/slice.py#L291

Added line #L291 was not covered by tests

Check warning on line 49 in superset/utils/json.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

superset/utils/json.py#L49

Added line #L49 was not covered by tests