sqlmesh 0.231.1.dev1__py3-none-any.whl → 0.231.2.dev2__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.
- sqlmesh/_version.py +2 -2
- sqlmesh/core/config/connection.py +13 -2
- sqlmesh/core/context.py +5 -2
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/METADATA +1 -1
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/RECORD +9 -9
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/WHEEL +1 -1
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.231.1.dev1.dist-info → sqlmesh-0.231.2.dev2.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.231.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 231,
|
|
31
|
+
__version__ = version = '0.231.2.dev2'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 231, 2, 'dev2')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -2013,7 +2013,17 @@ class TrinoConnectionConfig(ConnectionConfig):
|
|
|
2013
2013
|
OAuth2Authentication,
|
|
2014
2014
|
)
|
|
2015
2015
|
|
|
2016
|
+
auth: t.Optional[
|
|
2017
|
+
t.Union[
|
|
2018
|
+
BasicAuthentication,
|
|
2019
|
+
KerberosAuthentication,
|
|
2020
|
+
OAuth2Authentication,
|
|
2021
|
+
JWTAuthentication,
|
|
2022
|
+
CertificateAuthentication,
|
|
2023
|
+
]
|
|
2024
|
+
] = None
|
|
2016
2025
|
if self.method.is_basic or self.method.is_ldap:
|
|
2026
|
+
assert self.password is not None # for mypy since validator already checks this
|
|
2017
2027
|
auth = BasicAuthentication(self.user, self.password)
|
|
2018
2028
|
elif self.method.is_kerberos:
|
|
2019
2029
|
if self.keytab:
|
|
@@ -2032,11 +2042,12 @@ class TrinoConnectionConfig(ConnectionConfig):
|
|
|
2032
2042
|
elif self.method.is_oauth:
|
|
2033
2043
|
auth = OAuth2Authentication()
|
|
2034
2044
|
elif self.method.is_jwt:
|
|
2045
|
+
assert self.jwt_token is not None
|
|
2035
2046
|
auth = JWTAuthentication(self.jwt_token)
|
|
2036
2047
|
elif self.method.is_certificate:
|
|
2048
|
+
assert self.client_certificate is not None
|
|
2049
|
+
assert self.client_private_key is not None
|
|
2037
2050
|
auth = CertificateAuthentication(self.client_certificate, self.client_private_key)
|
|
2038
|
-
else:
|
|
2039
|
-
auth = None
|
|
2040
2051
|
|
|
2041
2052
|
return {
|
|
2042
2053
|
"auth": auth,
|
sqlmesh/core/context.py
CHANGED
|
@@ -692,8 +692,11 @@ class GenericContext(BaseContext, t.Generic[C]):
|
|
|
692
692
|
if snapshot.node.project in self._projects:
|
|
693
693
|
uncached.add(snapshot.name)
|
|
694
694
|
else:
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
local_store = self._standalone_audits if snapshot.is_audit else self._models
|
|
696
|
+
if snapshot.name in local_store:
|
|
697
|
+
uncached.add(snapshot.name)
|
|
698
|
+
else:
|
|
699
|
+
local_store[snapshot.name] = snapshot.node # type: ignore
|
|
697
700
|
|
|
698
701
|
for model in self._models.values():
|
|
699
702
|
self.dag.add(model.fqn, model.depends_on)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=v_spqQEhcnGaahp1yPvMqUIa6mhH3cs3Bc1CznxvCEA,7965
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=TKdHkGehOt5i1iK-prFkEw8c1xQp_oNGwqCYv2XWN8w,721
|
|
3
3
|
sqlmesh/magics.py,sha256=7Q1_lXSD_PgYH40Hsx6-OkfSQC3UJZgF043RVFRnw1s,42082
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,7 +13,7 @@ sqlmesh/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
13
13
|
sqlmesh/core/_typing.py,sha256=PzXxMYnORq18JhblAOUttms3zPJZzZpIbfFA_jgKYPA,498
|
|
14
14
|
sqlmesh/core/console.py,sha256=MYpVlciUY6rUuoqXyKfXTxD6a4-Bw4-ooATUTj_VHGg,172830
|
|
15
15
|
sqlmesh/core/constants.py,sha256=BuQk43vluUm7LfP9nKp5o9qRhqIenWF_LiLXO_t_53c,2699
|
|
16
|
-
sqlmesh/core/context.py,sha256=
|
|
16
|
+
sqlmesh/core/context.py,sha256=r0aUZ3BOljyVDhUzPG30_lfxLfYFaLiVAGzxgKedapE,133632
|
|
17
17
|
sqlmesh/core/context_diff.py,sha256=mxkJu0IthFMOlaQ_kcq5C09mlgkq2RQb-pG2rd-x_nA,21648
|
|
18
18
|
sqlmesh/core/dialect.py,sha256=qrCMuDYV2S9uYD3Xx8tIxHKAxuCQAArgofbByYJE7Wk,53493
|
|
19
19
|
sqlmesh/core/environment.py,sha256=Kgs_gUEUI072mh0JJFWNRynrCxp1TzRHZhX_NWJRfXc,13142
|
|
@@ -42,7 +42,7 @@ sqlmesh/core/config/__init__.py,sha256=tnEakbd8FAgSLYmjzuYAAgHIpJ00lwMKAhD_Cfs2O
|
|
|
42
42
|
sqlmesh/core/config/base.py,sha256=t8NQmsgQoZSc-k0dlDiCb8t1jj0AMYdGZ-6se9q_Pks,4898
|
|
43
43
|
sqlmesh/core/config/categorizer.py,sha256=6vzUoNLjR6GOEb_2mYVz2TwmMv2BfldgHX2u-Le5HZs,1975
|
|
44
44
|
sqlmesh/core/config/common.py,sha256=9V6PltBAjYeWLOU5dAbqL55BSFfpg8z8t2Op1x_PLhU,6418
|
|
45
|
-
sqlmesh/core/config/connection.py,sha256
|
|
45
|
+
sqlmesh/core/config/connection.py,sha256=-r05yEMH4FPwiEw1R3kM47HvXq7yGooqzODjF9lmZQk,92959
|
|
46
46
|
sqlmesh/core/config/dbt.py,sha256=xSQ4NEVWhZj_aRYpyy4MWcRJ8Qa0o28w2ZBLI4bs3_I,468
|
|
47
47
|
sqlmesh/core/config/format.py,sha256=6CXFbvnor56xbldKE-Vrm9k_ABRoY4v6vgIb3mCihiQ,1355
|
|
48
48
|
sqlmesh/core/config/gateway.py,sha256=tYngyqwd_4Qr9lhcv2hlvLvb_2pgYYtKu6hdGsTr-4I,1931
|
|
@@ -238,7 +238,7 @@ sqlmesh/utils/pydantic.py,sha256=-yppkVlw6iSBaSiKjbe7OChxL-u3urOS4-KCjJEgsRU,120
|
|
|
238
238
|
sqlmesh/utils/rich.py,sha256=cwQ5nJ6sgz64xHtoh6_ec7ReV5YpsOGhMtUJnwoRfEI,3549
|
|
239
239
|
sqlmesh/utils/windows.py,sha256=0F9RdpuuCoG5NiEDXvWlAGCiJ-59OjSAmgFF5wW05aY,1133
|
|
240
240
|
sqlmesh/utils/yaml.py,sha256=KFBd7hsKNRTtRudGR7d410qUYffQv0EWRcDM8hVNNZg,3025
|
|
241
|
-
sqlmesh-0.231.
|
|
241
|
+
sqlmesh-0.231.2.dev2.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
242
242
|
sqlmesh_dbt/__init__.py,sha256=awYS5y5mz-1NUmx6i5h5NSTJ7tidRl9NC0FAnFWSF6U,350
|
|
243
243
|
sqlmesh_dbt/cli.py,sha256=p9foHjAW9ni7BTOJ2loynk47M0Sf43QIJZRggOzF5tc,6351
|
|
244
244
|
sqlmesh_dbt/console.py,sha256=RwWLYnEZHzn9Xp-e2gbZvkdKbWbBLN146geI84mJitg,1132
|
|
@@ -363,8 +363,8 @@ web/server/api/endpoints/models.py,sha256=kwj0s7uve3iZSMfmjkoPVMFMeY1sD0peTeyrWf
|
|
|
363
363
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
364
364
|
web/server/api/endpoints/plan.py,sha256=bbbY50W_2MsZSTxOHWMKz0tbIm75nsRSlPy8GI2fg9Q,9306
|
|
365
365
|
web/server/api/endpoints/table_diff.py,sha256=8XTwgOh6QBbNy_hTM1JuHgRjbnie-pGPrphiW-FNLjQ,6058
|
|
366
|
-
sqlmesh-0.231.
|
|
367
|
-
sqlmesh-0.231.
|
|
368
|
-
sqlmesh-0.231.
|
|
369
|
-
sqlmesh-0.231.
|
|
370
|
-
sqlmesh-0.231.
|
|
366
|
+
sqlmesh-0.231.2.dev2.dist-info/METADATA,sha256=IXsFOjgq22VmNo5Akfo5GvfZ9sk6fG0PIZEkk9uWK-k,26677
|
|
367
|
+
sqlmesh-0.231.2.dev2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
368
|
+
sqlmesh-0.231.2.dev2.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
369
|
+
sqlmesh-0.231.2.dev2.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
370
|
+
sqlmesh-0.231.2.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|