You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ci/metrics/metrics.py
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,10 @@ class GaugeMetric:
65
65
defbuildkite_fetch_page_build_list(
66
66
buildkite_token: str, after_cursor: str=None
67
67
) ->list[dict[str, str]]:
68
-
"""Fetches a page of the build list using the GraphQL BuildKite API. Returns the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE last **finished** builds by default, or the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE **finished** builds older than the one pointer by |cursor| if provided.
68
+
"""Fetches a page of the build list using the GraphQL BuildKite API.
69
+
Returns the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE last **finished** builds by
70
+
default, or the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE **finished** builds
71
+
older than the one pointer by |cursor| if provided.
69
72
The |cursor| value is taken from the previous page returned by the API.
0 commit comments