我正在寻找针对python script
运行EMR cluster
的方法。我浏览了一些文档here和here,但他们只将数据源列为S3
或DynamoDB
。如何执行python script
这些file system (cluster node file system)
不存在于python script
中?
如果无法针对EMR cluster
执行文件系统中存在的python script
,那么对EMR cluster
执行def edit(request, id=None, template_name='article_edit.html'):
if id:
article = get_object_or_404(Article, id=id)
if article.user != request.user:
return HttpResponseForbidden()
else:
article = Article(user=request.user)
if request.POST:
form = ArticleForm(request.POST, instance=article)
if form.is_valid():
save_it = form.save()
save_it.save()
form.save_m2m()
return HttpResponseRedirect("/")
else:
form = ArticleForm(instance=article)
context = {'form': form}
populateContext(request, context)
return render(request, template_name, context)
的其他选项是什么?< / p>