def METHOD_NAME(user):
    if config.worker_management == 'dynamic':
        client = ds_man.get_dask_client(user)
    else:
        client = Client('{}:{}'.format(
            config.scheduler_ip, config.scheduler_port)
        )
    return client