MilanM commited on
Commit
cb05674
·
verified ·
1 Parent(s): b95dce5

Update main_app.py

Browse files
Files changed (1) hide show
  1. main_app.py +3 -2
main_app.py CHANGED
@@ -152,7 +152,7 @@ def _(client_instantiation_form, os):
152
 
153
  @app.cell
154
  def _(client_setup, get_iam_token, wx_api_key):
155
- if client_setup:
156
  token = get_iam_token(wx_api_key)
157
  else:
158
  token = None
@@ -239,7 +239,8 @@ def _(
239
  client_callout_kind = "success"
240
  else:
241
  client_callout_kind = "neutral"
242
- return client_callout_kind, deployment_client
 
243
 
244
 
245
  @app.cell
 
152
 
153
  @app.cell
154
  def _(client_setup, get_iam_token, wx_api_key):
155
+ if client_setup and wx_api_key is not None:
156
  token = get_iam_token(wx_api_key)
157
  else:
158
  token = None
 
239
  client_callout_kind = "success"
240
  else:
241
  client_callout_kind = "neutral"
242
+
243
+ return client_callout_kind, project_client, wx_credentials, deployment_client, task_credentials_details
244
 
245
 
246
  @app.cell