fakesnow 0.9.37__py3-none-any.whl → 0.9.38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fakesnow/variables.py +1 -1
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/METADATA +1 -1
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/RECORD +7 -7
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/WHEEL +1 -1
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/entry_points.txt +0 -0
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/licenses/LICENSE +0 -0
- {fakesnow-0.9.37.dist-info → fakesnow-0.9.38.dist-info}/top_level.txt +0 -0
fakesnow/variables.py
CHANGED
@@ -62,7 +62,7 @@ class Variables:
|
|
62
62
|
for name, value in self._variables.items():
|
63
63
|
sql = re.sub(rf"\${name}", value, sql, flags=re.IGNORECASE)
|
64
64
|
|
65
|
-
if remaining_variables := re.search(r"(
|
65
|
+
if remaining_variables := re.search(r"(?<![\$\w])\$\w+", sql):
|
66
66
|
raise snowflake.connector.errors.ProgrammingError(
|
67
67
|
msg=f"Session variable '{remaining_variables.group().upper()}' does not exist"
|
68
68
|
)
|
@@ -18,15 +18,15 @@ fakesnow/pandas_tools.py,sha256=wI203UQHC8JvDzxE_VjE1NeV4rThek2P-u52oTg2foo,3481
|
|
18
18
|
fakesnow/py.typed,sha256=B-DLSjYBi7pkKjwxCSdpVj2J02wgfJr-E7B1wOUyxYU,80
|
19
19
|
fakesnow/rowtype.py,sha256=QUp8EaXD5LT0Xv8BXk5ze4WseEn52xoJ6R05pJjs5mM,2729
|
20
20
|
fakesnow/server.py,sha256=RHf7ffKYi5xBH9fh8wZr3tEPmnzFWuvUbziCC8UwTh4,6652
|
21
|
-
fakesnow/variables.py,sha256=
|
21
|
+
fakesnow/variables.py,sha256=sWWSvuWY6yAhKhsl9KFzE703bCPeMAJruIa_dY8LaKs,3018
|
22
22
|
fakesnow/transforms/__init__.py,sha256=jHbn7T6fSxhiu3KVn_Xupi5JwgY9SbjcfGU-0WpdELU,2769
|
23
23
|
fakesnow/transforms/merge.py,sha256=Pg7_rwbAT_vr1U4ocBofUSyqaK8_e3qdIz_2SDm2S3s,8320
|
24
24
|
fakesnow/transforms/show.py,sha256=0NjuLQjodrukfUw8mcxcAmtBkV_6r02mA3nuE3ad3rE,17458
|
25
25
|
fakesnow/transforms/transforms.py,sha256=kjkQGTSkZ5lOJ-G13WQL4uB4yTzoIcsa3qcgBAgPH0c,47985
|
26
|
-
fakesnow-0.9.
|
26
|
+
fakesnow-0.9.38.dist-info/licenses/LICENSE,sha256=kW-7NWIyaRMQiDpryfSmF2DObDZHGR1cJZ39s6B1Svg,11344
|
27
27
|
tools/decode.py,sha256=kC5kUvLQxdCkMRsnH6BqCajlKxKeN77w6rwCKsY6gqU,1781
|
28
|
-
fakesnow-0.9.
|
29
|
-
fakesnow-0.9.
|
30
|
-
fakesnow-0.9.
|
31
|
-
fakesnow-0.9.
|
32
|
-
fakesnow-0.9.
|
28
|
+
fakesnow-0.9.38.dist-info/METADATA,sha256=nzZJ-lAiabUJv6a_Mv6xYTJyVvkmZas8bACLfr5xZEE,20680
|
29
|
+
fakesnow-0.9.38.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
30
|
+
fakesnow-0.9.38.dist-info/entry_points.txt,sha256=2riAUgu928ZIHawtO8EsfrMEJhi-EH-z_Vq7Q44xKPM,47
|
31
|
+
fakesnow-0.9.38.dist-info/top_level.txt,sha256=Yos7YveA3f03xVYuURqnBsfMV2DePXfu_yGcsj3pPzI,30
|
32
|
+
fakesnow-0.9.38.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|