Skip to content

Commit

Permalink
Introduce batch push-down to database connections (#7)
Browse files Browse the repository at this point in the history
* Fix asynchronous record iterator exhausted when scanning for new enumeration values

* Introduce batch push-down to database connections

* Eliminate duplicate code

* Add guard to prevent re-using an already exhausted iterator
  • Loading branch information
hunyadi authored Sep 2, 2024
1 parent 2897ab0 commit 83dbea9
Show file tree
Hide file tree
Showing 13 changed files with 432 additions and 365 deletions.
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"black"
],
"python.analysis.typeCheckingMode": "off",
"python.analysis.diagnosticSeverityOverrides": {
"reportInvalidTypeForm": "none"
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"cSpell.words": [
"unsync"
]
}
}
10 changes: 6 additions & 4 deletions check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
set -e

PYTHON=python3

# Run static type checker and verify formatting guidelines
python3 -m mypy pysqlsync
python3 -m flake8 pysqlsync
python3 -m mypy tests
python3 -m flake8 tests
$PYTHON -m mypy pysqlsync
$PYTHON -m flake8 pysqlsync
$PYTHON -m mypy tests
$PYTHON -m flake8 tests
Loading

0 comments on commit 83dbea9

Please sign in to comment.