File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ def main() -> None:
2121 # Example: list the last 10 user actions of type 'create' in the 'instance' api_group from the last 7 days
2222 from_time = (datetime .now (timezone .utc ) - timedelta (days = 7 )).isoformat ()
2323 logs = gcore .cloud .audit_logs .list (
24- # action_type=["create"],
25- # api_group=["instance"],
24+ action_type = ["create" ],
25+ api_group = ["instance" ],
2626 from_timestamp = from_time ,
2727 limit = 10 ,
2828 order_by = "desc" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ async def main() -> None:
2222 # Example: list the last 10 user actions of type 'create' in the 'instance' api_group from the last 7 days
2323 from_time = (datetime .now (timezone .utc ) - timedelta (days = 7 )).isoformat ()
2424 logs = await gcore .cloud .audit_logs .list (
25- # action_type=["create"],
26- # api_group=["instance"],
25+ action_type = ["create" ],
26+ api_group = ["instance" ],
2727 from_timestamp = from_time ,
2828 limit = 10 ,
2929 order_by = "desc" ,
You can’t perform that action at this time.
0 commit comments