code: def get_channel(self, **kwargs):
          
          if self.compatibility_mode:
              # For pre-sushibar scritps that do not implement `get_channel`,
              # we must check it this function exists before calling it...
              if hasattr(self.chef_module, 'get_channel'):
                  config.LOGGER.info("Calling get_channel... ")
                  # Create channel (using the function in the chef script)
                  channel = self.chef_module.get_channel(**kwargs)
              # For chefs with a `create_channel` method instead of `get_channel`
              if hasattr(self.chef_module, 'create_channel'):
                  config.LOGGER.info("Calling create_channel... ")
                  # Create channel (using the function in the chef script)
                  channel = self.chef_module.create_channel(**kwargs)
              else:
                  channel = None  # since no channel info, SushiBar functionality will be disabled...
              return channel
  
          elif hasattr(self, 'channel_info'):
              # If a sublass has an `channel_info` attribute (a dict) it doesn't need
              # to define a `get_channel` method and instead rely on this code:
              channel = ChannelNode(
                  source_domain=self.channel_info['CHANNEL_SOURCE_DOMAIN'],
                  source_id=self.channel_info['CHANNEL_SOURCE_ID'],
                  title=self.channel_info['CHANNEL_TITLE'],
                  thumbnail=self.channel_info.get('CHANNEL_THUMBNAIL'),
                  language=self.channel_info.get('CHANNEL_LANGUAGE'),
                  description=self.channel_info.get('CHANNEL_DESCRIPTION'),
              )
              return channel
  
          else:
              raise NotImplementedError('BaseChef must overrride the get_channel method')
docs: Call chef script's get_channel method in compatibility mode
          ...or...
          Create a `ChannelNode` from the Chef's `channel_info` class attribute.
  
          Args:
              kwargs (dict): additional keyword arguments that `uploadchannel` received
          Returns: channel created from get_channel method or None