Skip to content

Commit f391599

Browse files
committed
default automation listing to enabled=True
1 parent 2a6e301 commit f391599

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)