code: def __init__(self, name=None, **kwargs):
      super().__init__(name)
  
      args = kwargs.get("connection_data", {})
  
      self.connection_args = {}
      handler_config = Config().get("reddit_handler", {})
      for k in ["client_id", "client_secret", "user_agent"]:
          if k in args:
              self.connection_args[k] = args[k]
          elif f"REDDIT_{k.upper()}" in os.environ:
              self.connection_args[k] = os.environ[
                  f"REDDIT_{k.upper()}"
              ]
          elif k in handler_config:
              self.connection_args[k] = handler_config[k]
  
      self.reddit = None
      self.is_connected = False
  
      comment = CommentTable(self)
      self._register_table("comment", comment)
  
      submission = SubmissionTable(self)
      self._register_table("submission", submission)
  
file_path: mindsdb/mindsdb/integrations/handlers/reddit_handler/reddit_handler.py
imports: import praw
  import pandas
  from datetime import datetime
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.utilities.config import Config
  from mindsdb.utilities import log
  from .reddit_tables import CommentTable, SubmissionTable
label_desc: Use image node_id 1 to create a new RedditHandler object from inherited base classes: APIHandler with example: obj = RedditHandler(name)