'Initialise with a name and schema.
:param attr_name: the name of the attribute
:param schema: attribute schema'

def __init__(self, attr_name, schema):

    self.name = attr_name
    self.schema = Schema.from_attribute(schema)
