Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ async def list_operations(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1374,7 +1374,7 @@ async def get_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1433,7 +1433,7 @@ async def delete_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1488,7 +1488,7 @@ async def cancel_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down
8 changes: 4 additions & 4 deletions google/cloud/datastore_v1/services/datastore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ def list_operations(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1778,7 +1778,7 @@ def get_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1841,7 +1841,7 @@ def delete_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down Expand Up @@ -1896,7 +1896,7 @@ def cancel_operation(
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)), # type: ignore[union-attr] # TODO: https://github.com/googleapis/python-datastore/issues/649 - Fix type hint issue
)

# Validate the universe domain.
Expand Down