Skip to content

Commit 1fb56d3

Browse files
committed
Fix lint and mypy
1 parent e5adbfe commit 1fb56d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

centml/sdk/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def get_deployment_logs(
162162
revision_number: int,
163163
start_time: int,
164164
end_time: int,
165+
line_count: int = 100,
165166
start_from_head: bool = True,
166-
line_count: int = None,
167167
stream: bool = False,
168168
):
169169
"""Fetch logs for a deployment within a time window, handling pagination automatically.
@@ -174,6 +174,7 @@ def get_deployment_logs(
174174
If stream=True, returns a generator that yields events as each page is fetched.
175175
If stream=False (default), returns a flat list of all events.
176176
"""
177+
177178
def _iter_events():
178179
next_page_token = None
179180
while True:

0 commit comments

Comments
 (0)