class_docstr: A class for handling connections and interactions with the Webz API.
class_docstr_tok: ["A","class","for","handling","connections","and","interactions","with","the","Webz","API","."]
docstr: Read the connection arguments by following the order of precedence below:
  
  1. PARAMETERS object
  2. Environment Variables
  3. MindsDB Config File
docstr_tok: ["Read","the","connection","arguments","by","following","the","order","of","precedence","below",":","1",".","PARAMETERS","object","2",".","Environment","Variables","3",".","MindsDB","Config","File"]
code: def _read_connection_args(
      self, name: str = None, **kwargs
  ) -> Dict[str, Any]:
      """Read the connection arguments by following the order of precedence below:
  
      1. PARAMETERS object
      2. Environment Variables
      3. MindsDB Config File
  
      """
      filtered_args = {}
      handler_config = Config().get(f"{name.lower()}_handler", {})
      for k in type(self).AVAILABLE_CONNECTION_ARGUMENTS:
          if k in kwargs:
              filtered_args[k] = kwargs[k]
          elif f"{name.upper()}_{k.upper()}" in os.environ:
              filtered_args[k] = os.environ[
                  f"{name.upper()}_{k.upper()}"
              ]
          elif k in handler_config:
              filtered_args[k] = handler_config[k]
      return filtered_args
  
imports: import os
  import time
  from typing import Any, Dict
  import pandas
  import webzio
  from dotty_dict import dotty
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.handlers.webz_handler.webz_tables import WebzPostsTable, WebzReviewsTable
  from mindsdb.integrations.libs.api_handler import APIHandler
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
label_desc: Use image node_id 2 for calling the WebzHandler obj's underlying member method code with example usage: obj._read_connection_args(name) and returns: filtered_args