<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_requires(self, build_requires=False, private_build_requires=False):
 """Get the requirements of the variant. Args: build_requires (bool):
 If True, include build requirements. private_build_requires (bool):
 If True, include private build requirements. Returns: List of `Requirement` objects. """

        requires = self.requires or []

        if build_requires:
            requires = requires + (self.build_requires or [])
        if private_build_requires:
            requires = requires + (self.private_build_requires or [])

        return requires