Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用此处所述的 appcfg.py 批量加载数据。除了设置父实体外,我让它工作,我似乎找不到有关如何为导入创建的实体设置父实体的信息。你能给我指出正确的方向或为我的 bulkloader.Loader 实现提供代码片段吗?
您需要覆盖 Loader 类的 generate_key 方法。有关详细信息,请参阅此帖子。