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 43b0f03 commit 164f88cCopy full SHA for 164f88c
bigquery_etl/format_sql/format.py
@@ -4,7 +4,7 @@
4
import os
5
import os.path
6
import sys
7
-from functools import partial
+from functools import cache, partial
8
from multiprocessing.pool import Pool
9
from pathlib import Path
10
from typing import Tuple
@@ -16,6 +16,7 @@
16
from bigquery_etl.util.common import qualify_table_references_in_file
17
18
19
+@cache
20
def skip_format():
21
"""Return a list of configured queries for which formatting should be skipped."""
22
return [
@@ -25,6 +26,7 @@ def skip_format():
25
26
]
27
28
29
30
def skip_qualifying_references():
31
"""Return a list of configured queries where fully qualifying references should be skipped."""
32
0 commit comments