def METHOD_NAME(dataSources, name):
    from ansys.grpc.dpf import data_sources_pb2
    request = data_sources_pb2.UpdateRequest()
    request.result_path = True
    request.path = name
    request.data_sources.CopyFrom(dataSources._internal_obj)
    _get_stub(dataSources._server).Update(request)