Last active
February 13, 2025 20:19
-
-
Save amotl/0122692517a1ec74c44a6c266b6644e8 to your computer and use it in GitHub Desktop.
Revisions
-
amotl renamed this gist
Feb 13, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
amotl created this gist
Feb 12, 2025 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ import sqlalchemy as sa TIMEOUT = 0.00001 if __name__ == "__main__": engine = sa.create_engine('crate://localhost/', connect_args={"timeout": TIMEOUT}) c = engine.connect() result = c.execute(sa.text("SELECT 42;")) print(result.all())