class_docstr: Cuckoo Filter commands.
class_docstr_tok: ["Cuckoo","Filter","commands","."]
docstr: Create a new Cuckoo Filter `key` an initial `capacity` items.
  For more information see `CF.RESERVE <https://redis.io/commands/cf.reserve>`_.
docstr_tok: ["Create","a","new","Cuckoo","Filter","`","key","`","an","initial","`","capacity","`","items",".","For","more","information","see","`","CF.RESERVE","<","https",":","\/\/redis.io\/commands\/cf.reserve",">","`","_","."]
code: def create(
      self,
      key,
      capacity,
      expansion=None,
      bucket_size=None,
      max_iterations=None,
  ):
      """
      Create a new Cuckoo Filter `key` an initial `capacity` items.
      For more information see `CF.RESERVE <https://redis.io/commands/cf.reserve>`_.
      """  # noqa
      params = [key, capacity]
      self.append_expansion(params, expansion)
      self.append_bucket_size(params, bucket_size)
      self.append_max_iterations(params, max_iterations)
      return self.execute_command(CF_RESERVE, *params)
  
imports: from redis.client import NEVER_DECODE
  from redis.exceptions import ModuleError
  from redis.utils import HIREDIS_AVAILABLE, deprecated_function
label_desc: Use image node_id 1 for calling the CFCommands obj's underlying member method code with example usage: obj.create(key, capacity, expansion, bucket_size, max_iterations) and returns: self