sqlmesh 0.185.1.dev2__py3-none-any.whl → 0.185.1.dev4__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 CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.185.1.dev2'
21
- __version_tuple__ = version_tuple = (0, 185, 1, 'dev2')
20
+ __version__ = version = '0.185.1.dev4'
21
+ __version_tuple__ = version_tuple = (0, 185, 1, 'dev4')
sqlmesh/core/context.py CHANGED
@@ -1269,8 +1269,11 @@ class GenericContext(BaseContext, t.Generic[C]):
1269
1269
  skip_linter=skip_linter,
1270
1270
  )
1271
1271
 
1272
- if no_auto_categorization:
1272
+ plan = plan_builder.build()
1273
+
1274
+ if no_auto_categorization or plan.uncategorized:
1273
1275
  # Prompts are required if the auto categorization is disabled
1276
+ # or if there are any uncategorized snapshots in the plan
1274
1277
  no_prompts = False
1275
1278
 
1276
1279
  self.console.plan(
@@ -1281,7 +1284,7 @@ class GenericContext(BaseContext, t.Generic[C]):
1281
1284
  no_prompts=no_prompts if no_prompts is not None else self.config.plan.no_prompts,
1282
1285
  )
1283
1286
 
1284
- return plan_builder.build()
1287
+ return plan
1285
1288
 
1286
1289
  @python_api_analytics
1287
1290
  def plan_builder(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqlmesh
3
- Version: 0.185.1.dev2
3
+ Version: 0.185.1.dev4
4
4
  Summary: Next-generation data transformation framework
5
5
  Author-email: "TobikoData Inc." <engineering@tobikodata.com>
6
6
  License: Apache License
@@ -227,6 +227,7 @@ Requires-Dist: hyperscript>=0.1.0
227
227
  Requires-Dist: importlib-metadata; python_version < "3.12"
228
228
  Requires-Dist: ipywidgets
229
229
  Requires-Dist: jinja2
230
+ Requires-Dist: packaging
230
231
  Requires-Dist: pandas
231
232
  Requires-Dist: pydantic>=2.0.0
232
233
  Requires-Dist: requests
@@ -1,5 +1,5 @@
1
1
  sqlmesh/__init__.py,sha256=DRovDXI-9D9xeYDP7t8Fq7mI31S2btlN-LHPOK3y7PA,7240
2
- sqlmesh/_version.py,sha256=5cYOr3q2KnuXNWIdjqsEnvQlomS4w6sq7hx8dcOIA_A,528
2
+ sqlmesh/_version.py,sha256=PZmvpsTGw_YC2u3X6vlF3yV8NqYPuC3dOAUec4Ydefk,528
3
3
  sqlmesh/magics.py,sha256=aeOyTdeNnyGzGtJXECDAbqJ8OAplrV4UAYl0I2hhtig,39670
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=e1f7xO2aZCy38M_3VoDy-XI3shyd99-IFctgIFSgXWM,497
14
14
  sqlmesh/core/console.py,sha256=ZAaGLOWBJGBxPzLV7KZZ9akPExgD5m5AboCM8O0Q0nY,150944
15
15
  sqlmesh/core/constants.py,sha256=oqt6zjepUhQoWlgapKn_HpG7Pu9mrFwepdX5caNfJUI,2499
16
- sqlmesh/core/context.py,sha256=r7wKGFx702NF06S0Y8AvkoMaeYjzDRcugArRwxT4LHU,114911
16
+ sqlmesh/core/context.py,sha256=1EFWFHQyTuKKpEasguZJmVZNth5IZCjdqSLgwDfeEgU,115024
17
17
  sqlmesh/core/context_diff.py,sha256=s9toP17d4tJfOpFH91LcjGK2CM64PVuB0MPkeFgF4hQ,20415
18
18
  sqlmesh/core/dialect.py,sha256=fPTV517IOS0nWMxYznNNQnXkQkFFrPOSKe8ghsQ0o8A,49759
19
19
  sqlmesh/core/environment.py,sha256=0TTQf4C4LXwf37fm-dfYv1qyG7vtZfQI5rizgm5g0j0,11442
@@ -268,7 +268,7 @@ sqlmesh/utils/pydantic.py,sha256=-u69PDY-4FLR7ODNKBoN7PsPNmZ0wdhsJcCAG2P6vyY,110
268
268
  sqlmesh/utils/rich.py,sha256=xNZyPCqEc4TAlJlsEthg-5eYUWpaizz0QjBzO7a1Yv4,1509
269
269
  sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
270
270
  sqlmesh/utils/yaml.py,sha256=np-WVcwmwsKghCgAj1OBBMsK1SXSRn4wR-H37cGiFr8,2282
271
- sqlmesh-0.185.1.dev2.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
271
+ sqlmesh-0.185.1.dev4.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
272
272
  web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
273
273
  web/client/dist/index.html,sha256=xQIU9G6dbuTnmbHZ61bSYbh0gYz9A2lb4BRwLlXL94Y,5472
274
274
  web/client/dist/assets/Audits-Dcl7Y5yf.js,sha256=D2CfXzrdXFdD_-7c51tBJCKNwUY9yGeIpDEaRae7V8I,1041
@@ -386,8 +386,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
386
386
  web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
387
387
  web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
388
388
  web/server/api/endpoints/table_diff.py,sha256=Wd5YxeKbZB7AkrDvqFgvV9ZQlnKYOF1n5W_w2EHE_Zw,2085
389
- sqlmesh-0.185.1.dev2.dist-info/METADATA,sha256=3AtlnayZPgjS5LA-ewaRbzuLjFrm2b88mVqRSQxRfgg,25498
390
- sqlmesh-0.185.1.dev2.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
391
- sqlmesh-0.185.1.dev2.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
392
- sqlmesh-0.185.1.dev2.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
393
- sqlmesh-0.185.1.dev2.dist-info/RECORD,,
389
+ sqlmesh-0.185.1.dev4.dist-info/METADATA,sha256=aweEtE3MfoR8sCK5E6NJf1NBmPh4Ih4sZYzJWiasSCI,25523
390
+ sqlmesh-0.185.1.dev4.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
391
+ sqlmesh-0.185.1.dev4.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
392
+ sqlmesh-0.185.1.dev4.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
393
+ sqlmesh-0.185.1.dev4.dist-info/RECORD,,