dbt-platform-helper 12.2.3__py3-none-any.whl → 12.2.4__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.

Potentially problematic release.


This version of dbt-platform-helper might be problematic. Click here for more details.

@@ -590,13 +590,16 @@ def _validate_extension_supported_versions(
590
590
 
591
591
  if not isinstance(environments, dict):
592
592
  click.secho(
593
- "Error: Opensearch extension definition is invalid type, expected dictionary",
593
+ f"Error: {extension_type} extension definition is invalid type, expected dictionary",
594
594
  fg="red",
595
595
  )
596
596
  continue
597
597
  for environment, env_config in environments.items():
598
+
599
+ # An extension version doesn't need to be specified for all environments, provided one is specified under "*".
600
+ # So check if the version is set before checking if it's supported
598
601
  extension_version = env_config.get(version_key)
599
- if extension_version not in supported_extension_versions:
602
+ if extension_version and extension_version not in supported_extension_versions:
600
603
  extensions_with_invalid_version.append(
601
604
  {"environment": environment, "version": extension_version}
602
605
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt-platform-helper
3
- Version: 12.2.3
3
+ Version: 12.2.4
4
4
  Summary: Set of tools to help transfer applications/services from GOV.UK PaaS to DBT PaaS augmenting AWS Copilot.
5
5
  License: MIT
6
6
  Author: Department for Business and Trade Platform Team
@@ -83,11 +83,11 @@ dbt_platform_helper/utils/manifests.py,sha256=ji3UYHCxq9tTpkm4MlRa2y0-JOYYqq1pWZ
83
83
  dbt_platform_helper/utils/messages.py,sha256=aLx6s9utt__IqlDdeIYq4n82ERwludu2Zfqy0Q2t-x8,115
84
84
  dbt_platform_helper/utils/platform_config.py,sha256=2RfIxBAT5fv7WR4YuP3yomUK7sKZFL77xevuHnUALdg,676
85
85
  dbt_platform_helper/utils/template.py,sha256=raRx4QUCVJtKfvJK08Egg6gwWcs3r3V4nPWcJW4xNhA,574
86
- dbt_platform_helper/utils/validation.py,sha256=TYLEVdTPBFArnodS9Z7V72qxZJ37GIJto3EXKuBiXFU,28944
86
+ dbt_platform_helper/utils/validation.py,sha256=-Fb5Q7oZ9Jt8JJrXUva62J1MGHzLz0lqt7aQqA9-mY0,29176
87
87
  dbt_platform_helper/utils/versioning.py,sha256=IBxdocJ8ZyJib38d1ja87tTuFE0iJ4npaDcAHQAKQ58,10825
88
88
  platform_helper.py,sha256=bly3JkwbfwnWTZSZziu40dbgzQItsK-DIMMvL6ArFDY,1893
89
- dbt_platform_helper-12.2.3.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
90
- dbt_platform_helper-12.2.3.dist-info/METADATA,sha256=vl8LPxxm63TcuE74ix6QX3LaLgvhhDpcwejeblu5TO4,3212
91
- dbt_platform_helper-12.2.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
92
- dbt_platform_helper-12.2.3.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
93
- dbt_platform_helper-12.2.3.dist-info/RECORD,,
89
+ dbt_platform_helper-12.2.4.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
90
+ dbt_platform_helper-12.2.4.dist-info/METADATA,sha256=xZDA6nXtJA-spyCciuX6Fm-ySz2L6-Ulwm4E-ZuZDug,3212
91
+ dbt_platform_helper-12.2.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
92
+ dbt_platform_helper-12.2.4.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
93
+ dbt_platform_helper-12.2.4.dist-info/RECORD,,