Created
July 5, 2024 16:14
-
-
Save 2tony2/56acaffaf79691be050fd4f254f157dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cursor = connection.cursor() | |
results = cursor.fetch_pandas_batches() | |
assert isinstance(results, Generator) | |
for result in results: | |
assert isinstance(result, PandasDataFrame) | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment