Skip to content

Conversation

hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Sep 10, 2025

What changes are proposed in this pull request?

Add FieldMask class and helper functions.

This class methods have the same signature than the google.protobuf.FieldMask
https://github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/field_mask.py#L18
but serialize the FieldMask using snake_case, as expected by Databricks server.

Helper functions are required because serialization framework in templates only supports single line code.

How is this tested?

Added unit tests.

NO_CHANGELOG=true

@hectorcast-db hectorcast-db changed the title Add FieldMask class Add FieldMask class and helper functions Sep 15, 2025
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1041
  • Commit SHA: 9d5bfc750bbf882040691a738634228bf63b85bd

Checks will be approved automatically on success.

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.

1 participant