code: def get_shared(func):
      
      shared = []
      if not hasattr(func, '__cls__'):
          return shared
      if not hasattr(func.__cls__, '__shared_arguments__'):
          return shared
      if hasattr(func, '__no_share__'):
          if func.__no_share__ is True:
              return shared
          else:
              shared += [
                  s for s in func.__cls__.__shared_arguments__
                  if (s[0][-1].replace('--', '').replace('-', '_'))
                  not in func.__no_share__]
      else:
          shared = func.__cls__.__shared_arguments__
      return shared
docs: return shared.