Skip to content

Commit

Permalink
Fix AttributeError: 'NoneType' object has no attribute 'get_default_c…
Browse files Browse the repository at this point in the history
…onverter'
  • Loading branch information
laughingman7743 committed Dec 29, 2024
1 parent 85bd94c commit b533d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyathena/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def __init__(
self._converter = converter
self._formatter = formatter if formatter else DefaultParameterFormatter()
self._retry_config = retry_config if retry_config else RetryConfig()
self.cursor_class = cast(Type[ConnectionCursor], cursor_class)
self.cursor_class = cursor_class if cursor_class else cast(Type[ConnectionCursor], Cursor)
self.cursor_kwargs = cursor_kwargs if cursor_kwargs else {}
self.kill_on_interrupt = kill_on_interrupt
self.result_reuse_enable = result_reuse_enable
Expand Down

0 comments on commit b533d66

Please sign in to comment.