class_docstr: Configure logging using a dictionary-like object to describe the
  configuration.
class_docstr_tok: ["Configure","logging","using","a","dictionary-like","object","to","describe","the","configuration","."]
docstr: Configure a filter from a dictionary.
docstr_tok: ["Configure","a","filter","from","a","dictionary","."]
code: def configure_filter(self, config):
      """Configure a filter from a dictionary."""
      if "()" in config:
          result = self.configure_custom(config)
      else:
          name = config.get("name", "")
          result = logging.Filter(name)
      return result
  
imports: import errno
  import functools
  import io
  import logging
  import logging.handlers
  import os
  import queue
  import re
  import struct
  import threading
  import traceback
  from socketserver import ThreadingTCPServer, StreamRequestHandler
label_desc: Use image node_id 3 for calling the DictConfigurator obj's underlying member method code with example usage: obj.configure_filter(config) and returns: result