Skip to content

Commit

Permalink
add postgres executor
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-v committed Sep 8, 2023
1 parent 719c042 commit 60fa23e
Show file tree
Hide file tree
Showing 4 changed files with 739 additions and 0 deletions.
5 changes: 5 additions & 0 deletions redun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
except (ImportError, ModuleNotFoundError):
# Skip gcp_batch executor if google-cloud-batch is not installed.
pass
try:
from redun.executors.postgres import PgExecutor
except (ImportError, ModuleNotFoundError):
# Skip pg executor if psycopg2 is not installed.
pass
from redun.executors.local import LocalExecutor
from redun.file import Dir, File, ShardedS3Dataset
from redun.handle import Handle
Expand Down
Loading

0 comments on commit 60fa23e

Please sign in to comment.