<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_tags(self, only_autocomplete = False):
 """returns list of all tags. by default only those that have been set for autocomplete"""

        return self._to_dict(('id', 'name', 'autocomplete'), self.conn.GetTags(only_autocomplete))