def METHOD_NAME(obj: Any, filobj, **kwargs):
    """
    Dump an object to a pickle file using PmgPickler.
    Args:
        obj: Object to dump.
        fileobj: File-like object
        **kwargs: Any of the keyword arguments supported by PmgPickler
    """
    return PmgPickler(filobj, **kwargs).dump(obj)