sqlmesh 0.227.2.dev15__py3-none-any.whl → 0.227.2.dev17__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/model/definition.py +7 -0
- sqlmesh/integrations/github/cicd/controller.py +5 -0
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.dist-info}/METADATA +1 -1
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.dist-info}/RECORD +9 -9
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.dist-info}/WHEEL +0 -0
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.227.2.dev15.dist-info → sqlmesh-0.227.2.dev17.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.227.2.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 227, 2, '
|
|
31
|
+
__version__ = version = '0.227.2.dev17'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 227, 2, 'dev17')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
sqlmesh/core/model/definition.py
CHANGED
|
@@ -1035,6 +1035,13 @@ class _Model(ModelMeta, frozen=True):
|
|
|
1035
1035
|
# Will raise if the custom materialization points to an invalid class
|
|
1036
1036
|
get_custom_materialization_type_or_raise(self.kind.materialization)
|
|
1037
1037
|
|
|
1038
|
+
# Embedded model kind shouldn't have audits
|
|
1039
|
+
if self.kind.name == ModelKindName.EMBEDDED and self.audits:
|
|
1040
|
+
raise_config_error(
|
|
1041
|
+
"Audits are not supported for embedded models",
|
|
1042
|
+
self._path,
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1038
1045
|
def is_breaking_change(self, previous: Model) -> t.Optional[bool]:
|
|
1039
1046
|
"""Determines whether this model is a breaking change in relation to the `previous` model.
|
|
1040
1047
|
|
|
@@ -773,6 +773,11 @@ class GithubController:
|
|
|
773
773
|
"PR is already merged and this event was triggered prior to the merge."
|
|
774
774
|
)
|
|
775
775
|
merge_status = self._get_merge_state_status()
|
|
776
|
+
if merge_status.is_blocked:
|
|
777
|
+
raise CICDBotError(
|
|
778
|
+
"Branch protection or ruleset requirement is likely not satisfied, e.g. missing CODEOWNERS approval. "
|
|
779
|
+
"Please check PR and resolve any issues."
|
|
780
|
+
)
|
|
776
781
|
if merge_status.is_dirty:
|
|
777
782
|
raise CICDBotError(
|
|
778
783
|
"Merge commit cannot be cleanly created. Likely from a merge conflict. "
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=v_spqQEhcnGaahp1yPvMqUIa6mhH3cs3Bc1CznxvCEA,7965
|
|
2
|
-
sqlmesh/_version.py,sha256
|
|
2
|
+
sqlmesh/_version.py,sha256=5F1W5w7-Zb5TXGlQq-ObML_w6O326G2y2B01gBQWucY,723
|
|
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
|
|
@@ -90,7 +90,7 @@ sqlmesh/core/model/__init__.py,sha256=C8GRZ53xuXEA9hQv3BQS9pNNyd9rZ06R_B96UYGhDu
|
|
|
90
90
|
sqlmesh/core/model/cache.py,sha256=csun0RJguHzKX6-qITcOs4fVP4f8_Ts8qiUVV4sHY6Q,7869
|
|
91
91
|
sqlmesh/core/model/common.py,sha256=UqOmtbsrl4MYDUOigde2CwME-qdPgRf91QExX4yhAA0,27741
|
|
92
92
|
sqlmesh/core/model/decorator.py,sha256=bL-JuNrdBAikZSjVxnXqeB9i0e9qC7jm7yLjwiZ38aU,9470
|
|
93
|
-
sqlmesh/core/model/definition.py,sha256=
|
|
93
|
+
sqlmesh/core/model/definition.py,sha256=SAnrNgHUNPO2wMMRqAUYixOJJ5izJyc56adIFIUHIW0,117690
|
|
94
94
|
sqlmesh/core/model/kind.py,sha256=qJdiin09Q0neRFudNnLsDNCvbqD3EHAoK-WCvX-eUJs,40071
|
|
95
95
|
sqlmesh/core/model/meta.py,sha256=ELjprp6rl7dW9a7rs9eyQXScbDImInq35SyasiAriIk,24128
|
|
96
96
|
sqlmesh/core/model/schema.py,sha256=_HMYfzK9wWXh7_CQDIIGnuQUD4aiX3o5D2cRp2sERzc,3387
|
|
@@ -158,7 +158,7 @@ sqlmesh/integrations/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
158
158
|
sqlmesh/integrations/github/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
159
159
|
sqlmesh/integrations/github/cicd/command.py,sha256=w3oWhvR4utEurB5UABXj4iVBIojkCnZ0wTazIFmVmnc,12246
|
|
160
160
|
sqlmesh/integrations/github/cicd/config.py,sha256=n4KyNv65y1gpys82iLAQZUb6g2pnzywyV_7cOrQXsnI,3669
|
|
161
|
-
sqlmesh/integrations/github/cicd/controller.py,sha256=
|
|
161
|
+
sqlmesh/integrations/github/cicd/controller.py,sha256=IDcd_Lnz1JHb4F_vZ0b3VDhojFDwYQdwwAZDm1EeCtY,55186
|
|
162
162
|
sqlmesh/lsp/api.py,sha256=Z_8Op6CWqdbmEeidCQgMcVmRooQujqaynn-0EOw4478,2505
|
|
163
163
|
sqlmesh/lsp/commands.py,sha256=7tZPePSH-IwBYmXJPIlqGM7pi4rOCLEtc3fKJglAxZs,72
|
|
164
164
|
sqlmesh/lsp/completions.py,sha256=7Lhboh6xyoMJ3kkHG3aZz1xVbDwKiXeQKdIRj5xlUOA,6674
|
|
@@ -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.227.2.
|
|
241
|
+
sqlmesh-0.227.2.dev17.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.227.2.
|
|
367
|
-
sqlmesh-0.227.2.
|
|
368
|
-
sqlmesh-0.227.2.
|
|
369
|
-
sqlmesh-0.227.2.
|
|
370
|
-
sqlmesh-0.227.2.
|
|
366
|
+
sqlmesh-0.227.2.dev17.dist-info/METADATA,sha256=9KoVQCbsDq_VoIY0U00CPzPx6xOq0I2Ku1U3VXIVD1Q,26686
|
|
367
|
+
sqlmesh-0.227.2.dev17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
368
|
+
sqlmesh-0.227.2.dev17.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
369
|
+
sqlmesh-0.227.2.dev17.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
370
|
+
sqlmesh-0.227.2.dev17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|