Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@location.setter
def location(self, value):
self._location = value
@property
def tags(self):
"""
Gets the tags attached to the resource.
"""
return self._tags
@tags.setter
def tags(self, value):
self._tags = value
class ResourceBaseExtended(ResourceBase):
def __init__(self, **kwargs):
super(ResourceBaseExtended, self).__init__(**kwargs)
self._id = kwargs.get('id')
self._name = kwargs.get('name')
self._type = kwargs.get('type')
@property
def id(self):
"""
Gets the ID of the resource.
"""
return self._id
@id.setter
def id(self, value):
self._id = value