Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 59a9726

Browse files
committed
minor tweak to api.py
1 parent df4d16f commit 59a9726

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gapic/schema/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,7 @@ def all_method_settings(self) -> Mapping[str, Sequence[client_pb2.MethodSettings
975975
selector=method_setting.selector,
976976
long_running=method_setting.long_running,
977977
auto_populated_fields=method_setting.auto_populated_fields,
978+
paging_field_protobuf_wrapper=method_settings.paging_field_protobuf_wrapper,
978979
)
979980
for method_setting in self.service_yaml_config.publishing.method_settings
980981
}
@@ -1745,4 +1746,4 @@ def _load_service(
17451746

17461747
def _to_float(self, s: str) -> float:
17471748
"""Convert a protobuf duration string (e.g. `"30s"`) to float."""
1748-
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)