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

Commit 2caa968

Browse files
committed
updates comments, removes unused variable
1 parent 18523c4 commit 2caa968

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

gapic/schema/wrappers.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,12 +1479,6 @@ def sample_request(self):
14791479
return req
14801480

14811481

1482-
ENABLE_WRAPPER_TYPES_FOR_PAGE_SIZE = {
1483-
"google.cloud.bigquery.v2": True,
1484-
"google.cloud.bigquery.connection.v1beta1": False,
1485-
}
1486-
1487-
14881482
@dataclasses.dataclass(frozen=True)
14891483
class Method:
14901484
"""Description of a method (defined with the ``rpc`` keyword)."""
@@ -1867,8 +1861,8 @@ def paged_result_field(self) -> Optional[Field]:
18671861
if not page_field_size:
18681862
return None
18691863

1870-
# If the field is max_results and uses the UInt32Value and Int32Value wrappers,
1871-
# the package must be in the allowlist.
1864+
# If the a legacy API uses the UInt32Value and Int32Value wrappers,
1865+
# the service package must be in the allowlist.
18721866
package_name = self.input.meta.address.proto_package
18731867

18741868
if page_field_size.type == int or (

0 commit comments

Comments
 (0)