code: 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
docs: tuple: The schema's required attributed.