def get_tags(self):
        tags = {}
        for label in self.labels.all():
            tags[label.key] = label.value

        tags['stack_id'] = self.id

        # No name allowed.  salt-cloud uses this and it would break everything.
        if tags in 'Name':
            del tags['Name']

        return tags
dataset/ETHPy150Open stackdio/stackdio/stackdio/api/stacks/models.py/Stack.get_tags/swapped operands of `in`