I know this isn't your code, but I'm confused here and this comment is not helpful.

Why aren't Attributes declared with Attribute instances for ``required``, ``unique`` etc?
By "behave like them", do we mean "persist them to the graph database", and if so why is this required?