We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5adbfe commit 1fb56d3Copy full SHA for 1fb56d3
1 file changed
centml/sdk/api.py
@@ -162,8 +162,8 @@ def get_deployment_logs(
162
revision_number: int,
163
start_time: int,
164
end_time: int,
165
+ line_count: int = 100,
166
start_from_head: bool = True,
- line_count: int = None,
167
stream: bool = False,
168
):
169
"""Fetch logs for a deployment within a time window, handling pagination automatically.
@@ -174,6 +174,7 @@ def get_deployment_logs(
174
If stream=True, returns a generator that yields events as each page is fetched.
175
If stream=False (default), returns a flat list of all events.
176
"""
177
+
178
def _iter_events():
179
next_page_token = None
180
while True:
0 commit comments