python - 谷歌云数据存储 API 上的参数太少错误
问题描述
嗨,我正在阅读使用 Google Cloud Datastore API 的教程,在
python tasks.py --project-id <project-id>
通过放置我的项目 ID 运行命令时,我总是收到错误消息
usage: tasks.py [-h] [--project-id PROJECT_ID] {new,done,list,delete} ...
tasks.py: error: too few arguments
谢谢。
解决方案
推荐阅读
- swift - 从视图层次结构中查找和隐藏视图
- python - 将小数格式化为百分比并截断其余部分
- php - 如果某天为空,则创建最近 30 天的图表
- git - docker:git clone 结果不在本地卷中,args 没有扩展
- arrays - 在 Julia 中将数组导出到 CSV 文件
- java - Prometheus 错误:收集器已注册,提供名称:http_client_requests_count
- php - PHP 无法从 curl 调用中取回数据
- javascript - 将元素宽度调整为父级中的滚动条
- neural-network - 用于几何图元提取和定位的神经网络
- css - CSS : :not(s) 选择器作为父选择器 + :hover 类误解