From 0ff1afabc1088e3e584affc7ee68ebd4085f4c2c Mon Sep 17 00:00:00 2001 From: Austin Weisgrau Date: Thu, 20 Jun 2024 16:55:27 -0700 Subject: [PATCH] SFTP client for CatalistMatch has 10 minute timeout --- parsons/catalist/catalist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsons/catalist/catalist.py b/parsons/catalist/catalist.py index a67f017cdb..99f2fce776 100644 --- a/parsons/catalist/catalist.py +++ b/parsons/catalist/catalist.py @@ -73,7 +73,7 @@ def __init__( token_url="https://auth.catalist.us/oauth/token", auto_refresh_url="https://auth.catalist.us/oauth/token", ) - self.sftp = SFTP("t.catalist.us", sftp_username, sftp_password) + self.sftp = SFTP("t.catalist.us", sftp_username, sftp_password, timeout=7200) def load_table_to_sftp(self, table: Table, input_subfolder: Optional[str] = None) -> str: """Load table to Catalist sftp bucket as gzipped CSV for matching.