@property<EOL><INDENT>def variant_requires(self):<DEDENT>
if self.index is None:<EOL><INDENT>return []<EOL><DEDENT>else:<EOL><INDENT>return self.parent.variants[self.index] or []<EOL><DEDENT>
Get the subset of requirements specific to this variant.

        Returns:
            List of `Requirement` objects.