Skip to content

Commit

Permalink
Add register_default method as an alias for
Browse files Browse the repository at this point in the history
default
  • Loading branch information
mmabrouk committed Dec 13, 2023
1 parent 59a93a2 commit a56b9d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agenta-cli/agenta/sdk/agenta_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ def __init__(self, base_id, host, api_key):
else:
self.persist = True

def register_default(self, overwrite=True, **kwargs):
"""alias for default"""
return self.default(overwrite=overwrite, **kwargs)

def default(self, overwrite=True, **kwargs):
"""Saves the default parameters to the app_name and base_name in case they are not already saved.
Args:
Expand Down

0 comments on commit a56b9d1

Please sign in to comment.