docstr: Create a new RedisBloom client.
docstr_tok: ["Create","a","new","RedisBloom","client","."]
code: def __init__(self, client, **kwargs):
      """Create a new RedisBloom client."""
      # Set the module commands' callbacks
      _MODULE_CALLBACKS = {
          TOPK_RESERVE: bool_ok,
          # TOPK_QUERY: spaceHolder,
          # TOPK_COUNT: spaceHolder,
      }
  
      _RESP2_MODULE_CALLBACKS = {
          TOPK_ADD: parse_to_list,
          TOPK_INCRBY: parse_to_list,
          TOPK_INFO: TopKInfo,
          TOPK_LIST: parse_to_list,
      }
      _RESP3_MODULE_CALLBACKS = {}
  
      self.client = client
      self.commandmixin = TOPKCommands
      self.execute_command = client.execute_command
  
      if get_protocol_version(self.client) in ["3", 3]:
          _MODULE_CALLBACKS.update(_RESP3_MODULE_CALLBACKS)
      else:
          _MODULE_CALLBACKS.update(_RESP2_MODULE_CALLBACKS)
  
      for k, v in _MODULE_CALLBACKS.items():
          self.client.set_response_callback(k, v)
  
imports: from redis._parsers.helpers import bool_ok
  from ..helpers import get_protocol_version, parse_to_list
  from .commands import *
  from .info import BFInfo, CFInfo, CMSInfo, TDigestInfo, TopKInfo
label_desc: Use image node_id 1 to create a new TOPKBloom object from inherited base classes: TOPKCommands, AbstractBloom with example: obj = TOPKBloom(client)