def validate_for_request(self):
        """Verify enough information is available for requesting compose."""
        if not self.use_packages and not self.modules and not self.pulp:
            raise ValueError("Nothing to compose (no packages, modules, or enabled pulp repos)")

        if self.packages and not self.koji_tag:
            raise ValueError('koji_tag is required when packages are used')
def validate_for_request ( self ) : if not self . use_packages and not self . modules and not self . pulp : raise ValueError ( "Nothing to compose (no packages, modules, or enabled pulp repos)" ) if self . packages and not self . koji_tag : raise ValueError ( 'koji_tag is required when packages are used' )
Verify enough information is available for requesting compose.