Skip to content

Commit 8aa663b

Browse files
author
Peng Ren
committed
Fix code smell
1 parent a163e26 commit 8aa663b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymongosql/sqlalchemy_mongodb/sqlalchemy_dialect.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,15 @@ def get_table_names(self, connection, schema: Optional[str] = None, **kwargs) ->
326326

327327
def get_view_names(self, connection, schema: Optional[str] = None, **kwargs) -> List[str]:
328328
"""Get list of views.
329-
329+
330330
MongoDB doesn't have traditional SQL views like relational databases.
331331
Return empty list to satisfy SQLAlchemy and tools like Superset.
332-
332+
333333
Args:
334334
connection: Database connection
335335
schema: Optional schema/database name
336336
**kwargs: Additional arguments
337-
337+
338338
Returns:
339339
Empty list as MongoDB doesn't support SQL views
340340
"""

0 commit comments

Comments
 (0)