Skip to content

Commit 417e92f

Browse files
authored
Merge pull request #208 from urbanairship/TOOLSLIBS-2098
Default automation listing to enabled=True
2 parents 7352a56 + f391599 commit 417e92f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

urbanairship/automation/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ def lookup(self, pipeline_id: str) -> Response:
9191
return response
9292

9393
def list_automations(
94-
self, limit: Optional[int] = None, enabled: bool = False
94+
self, limit: Optional[int] = None, enabled: bool = True
9595
) -> Response:
9696
"""List active Automations
9797
9898
:keyword limit: Optional, maximum pipelines to return
99-
:keyword enabled: Optional, boolean limiter for results to only enabled
100-
Pipelines
99+
:keyword enabled: Optional, boolean limits results to either enabled or not
100+
enabled Pipelines (defaults to True)
101101
"""
102102
params = {}
103103
if isinstance(limit, int):

0 commit comments

Comments
 (0)