Skip to content

Commit

Permalink
fixing apps list
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhras01 committed May 31, 2024
1 parent 9b241d5 commit 9436f96
Show file tree
Hide file tree
Showing 2 changed files with 235 additions and 283 deletions.
8 changes: 7 additions & 1 deletion composio/cli/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,13 @@ def _update(context: Context, beta: bool = False) -> None:
key=lambda x: x.appKey,
)
if not beta:
apps = list(set([app for app in apps if not app.name.lower().endswith("beta")]))
c = []
for app in apps:
if app.name.lower().endswith("beta"):
continue
c.append(app)
apps = c
# apps = list(set([app for app in apps if not app.name.lower().endswith("beta")]))

enum_module = MODULE_TEMPLATE.format(
tag_enum=_get_tag_enum(apps=apps, actions=actions),
Expand Down
Loading

0 comments on commit 9436f96

Please sign in to comment.