Skip to content

Commit

Permalink
pass in settings correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
antbaez9 committed Jul 11, 2024
1 parent 791d416 commit 21ca33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributask/distributask.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def search_offers(self, max_price: float) -> List[Dict]:
raise

def create_instance(
self, offer_id: str, image: str, module_name: str, settings: Dict = None, command: str = None
self, offer_id: str, image: str, module_name: str, settings: Dict, command: str
) -> Dict:
"""
Create an instance on the Vast.ai platform.
Expand Down Expand Up @@ -588,7 +588,7 @@ def rent_nodes(
max_nodes: int,
image: str,
module_name: str,
settings: Dict,
settings: Dict = None,
command: str = None,
) -> List[Dict]:
"""
Expand Down

0 comments on commit 21ca33f

Please sign in to comment.