parameters: (
      value: metadata_store_pb2.Value,
      primitive_type: metadata_store_pb2.PropertyType)
return_statement: return appropriate_value == value.WhichOneof("value")
docstring: Tests if a value is consistent with the type of that property.
docstring_summary: Tests if a value is consistent with the type of that property.
docstring_tokens: Tests if a value is consistent with the type of that property .
function: def _value_is_consistent(
      value: metadata_store_pb2.Value,
      primitive_type: metadata_store_pb2.PropertyType) -> bool:
    """Tests if a value is consistent with the type of that property."""
    appropriate_value = _appropriate_values[primitive_type]
    return appropriate_value == value.WhichOneof("value")
function_tokens: def _value_is_consistent ( value : metadata_store_pb2 . Value , primitive_type : metadata_store_pb2 . PropertyType ) -> bool : appropriate_value = _appropriate_values [ primitive_type ] return appropriate_value == value . WhichOneof ( "value" )