Python 未解析的属性引用';批量创建工作';对于类';JobServiceClient';

Python 未解析的属性引用';批量创建工作';对于类';JobServiceClient';,python,google-api,google-api-python-client,google-api-services-jobs,Python,Google Api,Google Api Python Client,Google Api Services Jobs,我遵循谷歌云人才解决方案服务中批量操作指南中的示例 我已经尝试了所有其他的例子,它们都很有效 除了这个,我得到了下面的错误 Unresolved attribute reference 'batch_create_jobs' for class 'JobServiceClient' IDE也在抱怨,无法自动完成缺少的功能 我的代码可以归结为: from google.cloud import talent_v4beta1 client = talent_v4beta1.JobServiceC

我遵循谷歌云人才解决方案服务中批量操作指南中的示例

我已经尝试了所有其他的例子,它们都很有效

除了这个,我得到了下面的错误

Unresolved attribute reference 'batch_create_jobs' for class 'JobServiceClient'
IDE也在抱怨,无法自动完成缺少的功能

我的代码可以归结为:

from google.cloud import talent_v4beta1

client = talent_v4beta1.JobServiceClient()
# initialize jobs and parent variables
operation = client.batch_update_jobs(parent, jobs) # this line is failing