original_docstring: 
          Returns a tag for a given action type.
          
docstring: Returns a tag for a given action type.
docstring_tokens: Returns a tag for a given action type .
code: def for_action(cls, action):
          """
          Returns a tag for a given action type.
          """
          tag_name = action
          tag, created = cls.objects.get_or_create(id=tag_name,
              defaults={'priority': 10})
          return tag
code_tokens: def for_action ( cls , action ) : tag_name = action tag , created = cls . objects . get_or_create ( id = tag_name , defaults = { 'priority' : 10 } ) return tag
short_docstring: Returns a tag for a given action type.
short_docstring_tokens: Returns a tag for a given action type .
comment: """
          Returns a tag for a given action type.
          """