Skip to content

Commit b354e82

Browse files
Fixed default UsageAutomation status filter.
1 parent e950a61 commit b354e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect/resources/usage_automation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class UsageAutomation(AutomationEngine):
2727
resource = 'listings'
2828
model_class = UsageFile
2929

30-
def filters(self, status='draft', **kwargs):
30+
def filters(self, status='listed', **kwargs):
3131
"""
32-
:param str status: Status of the requests. Default: ``'draft'``.
32+
:param str status: Status of the requests. Default: ``'listed'``.
3333
:param dict[str,Any] kwargs: Additional filters to add to the default ones.
3434
:return: The set of filters for this resource.
3535
:rtype: dict[str,Any]

0 commit comments

Comments
 (0)