Improve beat.backend.python.helpers.create_inputs_from_configuration() to support local access to databases