original_docstring:  Determines the property type for a Property object.
  
    Args:
      prop_pb: An entity_pb.Property object.
  
    Returns:
      A constant from PropertyTypes.
    
docstring: Determines the property type for a Property object.
docstring_tokens: Determines the property type for a Property object .
code: def stats_prop_type(prop_pb):
    """ Determines the property type for a Property object.
  
    Args:
      prop_pb: An entity_pb.Property object.
  
    Returns:
      A constant from PropertyTypes.
    """
    value_type = StatsPropTypes.NULL
    for type_name, type_code in six.iteritems(StatsPropTypes.VALUE_TYPES):
      if getattr(prop_pb.value(), 'has_{}value'.format(type_name))():
        value_type = type_code
        break
  
    if prop_pb.has_meaning():
      value_type = StatsPropTypes.MEANING_TYPES.get(
        prop_pb.meaning(), value_type)
  
    return value_type
code_tokens: def stats_prop_type ( prop_pb ) : value_type = StatsPropTypes . NULL for type_name , type_code in six . iteritems ( StatsPropTypes . VALUE_TYPES ) : if getattr ( prop_pb . value ( ) , 'has_{}value' . format ( type_name ) ) ( ) : value_type = type_code break if prop_pb . has_meaning ( ) : value_type = StatsPropTypes . MEANING_TYPES . get ( prop_pb . meaning ( ) , value_type ) return value_type
short_docstring: Determines the property type for a Property object.
short_docstring_tokens: Determines the property type for a Property object .
comment: """ Determines the property type for a Property object.
  
    Args:
      prop_pb: An entity_pb.Property object.
  
    Returns:
      A constant from PropertyTypes.
    """