Skip to content

Commit ffa66d2

Browse files
1 parent 59a9726 commit ffa66d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gapic/schema/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,4 +1746,4 @@ def _load_service(
17461746

17471747
def _to_float(self, s: str) -> float:
17481748
"""Convert a protobuf duration string (e.g. `"30s"`) to float."""
1749-
return int(s[:-1]) / 1e9 if s.endswith("n") else float(s[:-1])
1749+
return int(s[:-1]) / 1e9 if s.endswith("n") else float(s[:-1])

0 commit comments

Comments
 (0)