Skip to content

Commit 34a33c8

Browse files
Googlercopybara-github
authored andcommitted
Use constant for the order_by field in list_entries().
PiperOrigin-RevId: 610817660
1 parent fc6f4bc commit 34a33c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml_goodput_measurement/src/goodput.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def write_cloud_logging_entry(self, entry) -> None:
7272

7373
def read_cloud_logging_entries(self):
7474
return self._filter_entries_for_job(
75-
self.logger.list_entries(order_by='timestamp asc')
75+
self.logger.list_entries(order_by=google.cloud.logging.ASCENDING)
7676
)
7777

7878

0 commit comments

Comments
 (0)