Avatar for the meltano user
meltano
sdk
BlogDocsChangelog

refactor: Centralize JSON SerDe into helper functions

#2259Merged
Comparing
BuzzCutNorman:refactor-move-json-serde-to-helpers
(
f848370
) with
main
(
b065e5e
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
6
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_bench_parse_timestamps_in_record
tests/core/sinks/test_validation.py::test_bench_parse_timestamps_in_record
CodSpeed Performance Gauge
0%
11.5 ms
11.4 ms
test_bench_validate_and_parse
tests/core/sinks/test_validation.py::test_bench_validate_and_parse
CodSpeed Performance Gauge
0%
126.4 ms
126 ms
test_bench_validate_record_with_schema
tests/core/sinks/test_validation.py::test_bench_validate_record_with_schema
CodSpeed Performance Gauge
0%
113.4 ms
113.2 ms
test_bench_simple_map_transforms
tests/core/test_mapper.py::test_bench_simple_map_transforms
CodSpeed Performance Gauge
0%
641.9 ms
642.1 ms
test_bench_format_message
tests/core/test_io.py::test_bench_format_message
CodSpeed Performance Gauge
-3%
51.9 ms
53.4 ms
test_bench_deserialize_json
tests/core/test_io.py::test_bench_deserialize_json
CodSpeed Performance Gauge
-5%
22.9 ms
24.1 ms

Commits

Click on a commit to change the comparison range
Base
main
b065e5e
0%
moved deserialize_json and added serialize_json to _util
7b50f09
11 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
e68e994
11 months ago
by BuzzCutNorman
0%
update flattening related snapshots
209fc7d
11 months ago
by BuzzCutNorman
-1%
added kwargs to serde functions, updated read_json_file to use deserialize_json
29b9903
11 months ago
by BuzzCutNorman
0%
updated Sink.process_batch_files to use deserialize_json
9e4b698
11 months ago
by BuzzCutNorman
0%
changed attributes to match SQLConnector versions.
8dc53ea
11 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
6ece47d
11 months ago
by BuzzCutNorman
0%
moved type: ignore to correct line
efcc71e
11 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
f11de62
11 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
b04b362
11 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
606387b
10 months ago
by BuzzCutNorman
0%
Merge branch 'main' of https://github.com/BuzzCutNorman/sdk into refactor-move-json-serde-to-helpers
a1f5b94
7 months ago
by BuzzCutNorman
0%
applied a mypy suggestion by removing redundant dictionary cast
04d9370
7 months ago
by BuzzCutNorman
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
1182f38
6 months ago
by edgarrmondragon
0%
Move base SerDe to _singerlib
5cfa21e
6 months ago
by edgarrmondragon
0%
Re-add `SingerReader.deserialize_json`
b9faa7f
6 months ago
by edgarrmondragon
0%
Implement naive central JSON loading and dumping functions
dc5c7a1
6 months ago
by edgarrmondragon
0%
Use util methods to SerDe to and from SQL
3f29a1f
6 months ago
by edgarrmondragon
0%
Make the Singer writer and reader classes generic
96525f1
6 months ago
by edgarrmondragon
0%
Move Singer IO to _singerlib
af9b5d5
6 months ago
by edgarrmondragon
0%
Handle uncovered code
f65e2e0
6 months ago
by edgarrmondragon
0%
Move Singer exception catching to reader implementation This way we can catch something like `msgspec.DecodeError` and raise the more generic `InvalidInputLine`.
ac7be38
6 months ago
by edgarrmondragon
0%
Increase encoder test coverage
168485c
6 months ago
by edgarrmondragon
0%
Re-use message writing and formatting logic
8f390f6
6 months ago
by edgarrmondragon
0%
Test records with version
a5f67a5
6 months ago
by edgarrmondragon
0%
Merge branch 'main' into refactor-move-json-serde-to-helpers
362ad22
6 months ago
by edgarrmondragon
0%
Move encodings to a private submodule
f848370
6 months ago
by edgarrmondragon
Home Terms PrivacyDocs