mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
Partially Use f string (#10218)
* flynt. trial 1. * Trial 1. * Addressed code review.
This commit is contained in:
@@ -217,8 +217,7 @@ class Collector(object):
|
||||
return metric
|
||||
|
||||
else:
|
||||
raise ValueError(
|
||||
"unsupported aggregation type %s" % type(agg_data))
|
||||
raise ValueError(f"unsupported aggregation type {type(agg_data)}")
|
||||
|
||||
def collect(self): # pragma: NO COVER
|
||||
"""Collect fetches the statistics from OpenCensus
|
||||
|
||||
Reference in New Issue
Block a user