Skip to content

Commit

Permalink
Refactor cluster factory
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineechen committed Dec 13, 2024
1 parent 3ff8b8b commit f6fe13b
Show file tree
Hide file tree
Showing 5 changed files with 341 additions and 424 deletions.
4 changes: 4 additions & 0 deletions runhouse/resources/hardware/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ def config(self, condensed: bool = True):

return config

def _update_values(self, new_values: Dict[str, str]):
for key, val in new_values:
setattr(self, key, val)

def endpoint(self, external: bool = False):
"""Endpoint for the cluster's Daemon server.
Expand Down
Loading

0 comments on commit f6fe13b

Please sign in to comment.