We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a0df1 commit b05dddbCopy full SHA for b05dddb
pdoc/cli.py
@@ -8,6 +8,10 @@
8
9
# Need this import or else import_module doesn't work
10
import sqlglot # noqa
11
+from sqlglot.dialects import *
12
+
13
+# Load all dialects up front because lazy loading breaks pdoc's dynamic importing
14
+sqlglot.dialects.__all__ = [globals()[attr_name] for attr_name in sqlglot.dialects.__all__]
15
16
17
def mocked_import(*args, **kwargs):
0 commit comments