Adjust glue get_tables method to use items instead of iteritems
This commit is contained in:
parent
d988ee15fe
commit
9339a476d2
@ -37,7 +37,7 @@ class GlueBackend(BaseBackend):
|
|||||||
|
|
||||||
def get_tables(self, database_name):
|
def get_tables(self, database_name):
|
||||||
database = self.get_database(database_name)
|
database = self.get_database(database_name)
|
||||||
return [table for table_name, table in database.tables.iteritems()]
|
return [table for table_name, table in database.tables.items()]
|
||||||
|
|
||||||
|
|
||||||
class FakeDatabase(BaseModel):
|
class FakeDatabase(BaseModel):
|
||||||
|
Loading…
Reference in New Issue
Block a user