original_docstring: Either add or remove a taxon from the starred list
docstring: Either add or remove a taxon from the starred list
docstring_tokens: Either add or remove a taxon from the starred list
code: def on_star(self, button):
          """Either add or remove a taxon from the starred list"""
          if button.is_selected:
              get_app().add_star(self.selected_taxon.id)
          else:
              get_app().remove_star(self.selected_taxon.id)
code_tokens: def on_star ( self , button ) : if button . is_selected : get_app ( ) . add_star ( self . selected_taxon . id ) else : get_app ( ) . remove_star ( self . selected_taxon . id )
short_docstring: Either add or remove a taxon from the starred list
short_docstring_tokens: Either add or remove a taxon from the starred list
comment: """Either add or remove a taxon from the starred list"""