def required_attributes(self):
        """tuple: The schema's required attributed.
        """

        # Deprecate
        warnings.warn(
            'Property "package.required_attributes" is deprecated.',
            UserWarning)
        required = ()

        # Get required
        try:
            if self.profile.required is not None:
                required = tuple(self.profile.required)
        except AttributeError:
            pass

        return required
def required_attributes(self):
        """tuple: The schema's required attributed.
        """

        # Deprecate
        warnings.warn(
            'Property "package.required_attributes" is deprecated.',
            UserWarning)
        required = ()

        # Get required
        try:
            if self.profile.required is not None:
                required = tuple(self.profile.required)
        except AttributeError:
            pass

        return required
def required_attributes ( self ) : # Deprecate warnings . warn ( 'Property "package.required_attributes" is deprecated.' , UserWarning ) required = ( ) # Get required try : if self . profile . required is not None : required = tuple ( self . profile . required ) except AttributeError : pass return required
tuple: The schema's required attributed.
tuple : The schema s required attributed .