【发布时间】:2021-10-09 05:14:41
【问题描述】:
所以,我想我遇到了文档过期的问题。根据此处的文档,我应该能够使用 list_schemas() 获取 Hive 数据目录中定义的模式列表:https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.list_schemas
但是,这个方法好像不存在:
import boto3
glue = boto3.client('glue')
glue.list_schemas()
AttributeError: 'Glue' object has no attribute 'list_schemas'
其他方法(例如list_crawlers())似乎仍然存在并且工作正常。这个方法被转移了吗?我是否需要安装一些额外的 boto3 库才能使其正常工作?
【问题讨论】:
-
嗨,亚当,请你看看我的回答。希望能回答你的问题。
-
您的
boto3版本是什么? -
看起来是 1.9.253。我会尝试升级它。
-
看起来更新就成功了。随意发布这个作为答案,@Marcin
标签: python boto3 aws-glue aws-glue-data-catalog