gigl.src.validation_check.libs.assert_proto_field_value_is_truthy#

gigl.src.validation_check.libs.utils.assert_proto_field_value_is_truthy(proto: Message, field_name: str) None#

Assert that a proto field is not empty. Throws an AssertionError if the field is not set or if the value in the field is equal to the default value.

Args:

proto: A proto message. field_name: A string representing the field name.