Skip to content

Commit

Permalink
Merge pull request #477 from mjwen/feat_sshtunnel
Browse files Browse the repository at this point in the history
Allow SSHTunnel in job stores
  • Loading branch information
utf authored Dec 5, 2023
2 parents e1f4aab + e8fa70c commit 2e24ce1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jobflow/core/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,10 @@ def all_subclasses(cl):

all_stores = {s.__name__: s for s in all_subclasses(maggma.stores.Store)}

# add ssh tunnel support
tunnel = maggma.stores.ssh_tunnel.SSHTunnel
all_stores[tunnel.__name__] = tunnel

docs_store_info = spec["docs_store"]
docs_store = _construct_store(docs_store_info, all_stores)

Expand Down

0 comments on commit 2e24ce1

Please sign in to comment.