Skip to content

Use abstract types for return type hints in pathwaysutils.#198

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_881604228
Mar 16, 2026
Merged

Use abstract types for return type hints in pathwaysutils.#198
copybara-service[bot] merged 1 commit intomainfrom
test_881604228

Conversation

@copybara-service
Copy link

Use abstract types for return type hints in pathwaysutils.

This change replaces concrete types like dict, set, and list with their abstract counterparts Mapping, Set, and Sequence in function signatures and class attributes across pathwaysutils. This improves type hint flexibility and adheres to Python best practices.

@google-cla
Copy link

google-cla bot commented Mar 10, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the test_881604228 branch 3 times, most recently from b72b194 to fc05db6 Compare March 16, 2026 03:21
This change replaces concrete types like `dict`, `set`, and `list` with their abstract counterparts `Mapping`, `Set`, and `Sequence` in function signatures and class attributes across `pathwaysutils`. This improves type hint flexibility and adheres to Python best practices.

PiperOrigin-RevId: 884182804
@copybara-service copybara-service bot merged commit 2c8593c into main Mar 16, 2026
@copybara-service copybara-service bot deleted the test_881604228 branch March 16, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants