Skip to content

Commit b71a6af

Browse files
committed
Format the code
Signed-off-by: Daisuke Taniwaki <daisuketaniwaki@gmail.com>
1 parent 1e2ddf5 commit b71a6af

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

dbt-athena/src/dbt/adapters/athena/connections.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,7 @@ def execute(
173173
lambda e: (
174174
False
175175
if catch_partitions_limit and "TOO_MANY_OPEN_PARTITIONS" in str(e)
176-
else False
177-
if "Query timeout" in str(e)
178-
else True
176+
else False if "Query timeout" in str(e) else True
179177
)
180178
),
181179
stop=stop_after_attempt(self._retry_config.attempt),

0 commit comments

Comments
 (0)