def factory(func, *args, **kwargs):
    return FactoryHelper(func, *args, **kwargs)
Find the partition of a given device.
dataset/ETHPy150Open nucleic/enaml/enaml/layout/layout_helpers.py/factory--crossover with--dataset/ETHPy150Open openstack/ironic-python-agent/ironic_python_agent/extensions/image.py/_get_partition