Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Ashcraft committed Nov 12, 2024
1 parent 261ca17 commit 6db910f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdks/python/apache_beam/io/jdbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def default_io_expansion_service(classpath=None):
('read_query', typing.Optional[str]),
('write_statement', typing.Optional[str]),
('fetch_size', typing.Optional[np.int16]),
('disable_autocommit', typing.Optional[bool]),
('output_parallelization', typing.Optional[bool]),
('autosharding', typing.Optional[bool]),
('partition_column', typing.Optional[str]),
Expand Down Expand Up @@ -236,6 +237,7 @@ def __init__(
write_statement=statement,
read_query=None,
fetch_size=None,
disable_autcommit=None,
output_parallelization=None,
autosharding=autosharding,
max_connections=max_connections,
Expand Down Expand Up @@ -286,6 +288,7 @@ def __init__(
username,
password,
query=None,
disable_autocommit=None,
output_parallelization=None,
fetch_size=None,
partition_column=None,
Expand All @@ -305,6 +308,7 @@ def __init__(
:param username: database username
:param password: database password
:param query: sql query to be executed
:param disable_autocommit: disable autocommit on read
:param output_parallelization: is output parallelization on
:param fetch_size: how many rows to fetch
:param partition_column: enable partitioned reads by splitting on this
Expand Down Expand Up @@ -350,6 +354,7 @@ def __init__(
write_statement=None,
read_query=query,
fetch_size=fetch_size,
disable_autocommit=disable_autocommit,
output_parallelization=output_parallelization,
autosharding=None,
max_connections=max_connections,
Expand Down

0 comments on commit 6db910f

Please sign in to comment.