Skip to content

Commit

Permalink
Draft: [DEVX-248] : Change base_workflow to "Empty" in app creation (#…
Browse files Browse the repository at this point in the history
…202)

* changed base_workflow to Empty in doc strings

* Changed base_workflow to Empty
  • Loading branch information
adithyan-sukumar authored Oct 23, 2023
1 parent 8167f25 commit a7f0dbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions clarifai/client/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,12 @@ def list_runners(self, filter_by: Dict[str, Any] = {}, page_no: int = None,
for runner_info in all_runners_info:
yield Runner(check_runner_exists=False, **runner_info)

def create_app(self, app_id: str, base_workflow: str = 'Language-Understanding',
**kwargs) -> App:
def create_app(self, app_id: str, base_workflow: str = 'Empty', **kwargs) -> App:
"""Creates an app for the user.
Args:
app_id (str): The app ID for the app to create.
base_workflow (str): The base workflow to use for the app.(Examples: 'Universal', 'Empty', 'General')
base_workflow (str): The base workflow to use for the app.(Examples: 'Universal', 'Language-Understanding', 'General')
**kwargs: Additional keyword arguments to be passed to the App.
Returns:
Expand Down

0 comments on commit a7f0dbd

Please sign in to comment.