def _get_tag(resource_id, tag_name, context=None): t = tag.Tag(context=context) t.resource_id = resource_id t.tag = tag_name return t
def _get_tag(resource_id, tag_name): t = tag.Tag() t.resource_id = resource_id t.tag = tag_name return t