def dump_database_object(obj: T, fieldlist: Iterable[str]) -> None:
    """Prints key/value pairs for an object's dictionary."""
    log.info(_LINE_EQUALS)
    log.info("DUMP OF: {}", obj)
    for f in fieldlist:
        log.info(u"{f}: {v}", f=f, v=getattr(obj, f))
    log.info(_LINE_EQUALS)
Prints key/value pairs for an object's dictionary.