fal 0.9.3__tar.gz → 0.9.4__tar.gz

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 fal might be problematic. Click here for more details.

Files changed (92) hide show
  1. {fal-0.9.3 → fal-0.9.4}/PKG-INFO +1 -1
  2. {fal-0.9.3 → fal-0.9.4}/pyproject.toml +4 -2
  3. fal-0.9.4/src/dbt/adapters/fal/__version__.py +1 -0
  4. fal-0.9.4/src/dbt/adapters/fal_experimental/__version__.py +1 -0
  5. {fal-0.9.3 → fal-0.9.4}/src/fal/__init__.py +2 -0
  6. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/args.py +6 -1
  7. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/cli.py +2 -0
  8. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/dependency_analysis.py +16 -3
  9. fal-0.9.3/src/dbt/adapters/fal/__version__.py +0 -1
  10. fal-0.9.3/src/dbt/adapters/fal_experimental/__version__.py +0 -1
  11. {fal-0.9.3 → fal-0.9.4}/README.md +0 -0
  12. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal/__init__.py +0 -0
  13. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal/connections.py +0 -0
  14. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal/impl.py +0 -0
  15. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal/load_db_profile.py +0 -0
  16. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal/wrappers.py +0 -0
  17. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/__init__.py +0 -0
  18. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/adapter.py +0 -0
  19. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/adapter_support.py +0 -0
  20. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/connections.py +0 -0
  21. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/impl.py +0 -0
  22. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/athena.py +0 -0
  23. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/bigquery.py +0 -0
  24. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/duckdb.py +0 -0
  25. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/postgres.py +0 -0
  26. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/redshift.py +0 -0
  27. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/snowflake.py +0 -0
  28. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/support/trino.py +0 -0
  29. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/telemetry/__init__.py +0 -0
  30. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/telemetry/telemetry.py +0 -0
  31. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/teleport.py +0 -0
  32. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/teleport_adapter_support.py +0 -0
  33. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/teleport_support/duckdb.py +0 -0
  34. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/teleport_support/snowflake.py +0 -0
  35. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/utils/__init__.py +0 -0
  36. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/utils/environments.py +0 -0
  37. {fal-0.9.3 → fal-0.9.4}/src/dbt/adapters/fal_experimental/utils/yaml_helper.py +0 -0
  38. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/python/__init__.py +0 -0
  39. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/python/connections.py +0 -0
  40. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/python/impl.py +0 -0
  41. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/teleport/__init__.py +0 -0
  42. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/teleport/impl.py +0 -0
  43. {fal-0.9.3 → fal-0.9.4}/src/dbt/fal/adapters/teleport/info.py +0 -0
  44. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal/__init__.py +0 -0
  45. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal/dbt_project.yml +0 -0
  46. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal/macros/materializations/table.sql +0 -0
  47. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal/macros/teleport_duckdb.sql +0 -0
  48. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal/macros/teleport_snowflake.sql +0 -0
  49. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal_experimental/__init__.py +0 -0
  50. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal_experimental/dbt_project.yml +0 -0
  51. {fal-0.9.3 → fal-0.9.4}/src/dbt/include/fal_experimental/macros/materializations/table.sql +0 -0
  52. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/__init__.py +0 -0
  53. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/__init__.py +0 -0
  54. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/dbt_runner.py +0 -0
  55. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/fal_runner.py +0 -0
  56. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/flow_runner.py +0 -0
  57. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/model_generator/__init__.py +0 -0
  58. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/model_generator/model_generator.py +0 -0
  59. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/model_generator/module_check.py +0 -0
  60. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/cli/selectors.py +0 -0
  61. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/fal_script.py +0 -0
  62. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/feature_store/__init__.py +0 -0
  63. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/feature_store/feature.py +0 -0
  64. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/__init__.py +0 -0
  65. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/lib.py +0 -0
  66. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/logger.py +0 -0
  67. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/magics.py +0 -0
  68. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/parse.py +0 -0
  69. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/project.py +0 -0
  70. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/utils/__init__.py +0 -0
  71. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/utils/yaml_helper.py +0 -0
  72. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/integration/version.py +0 -0
  73. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/new/project.py +0 -0
  74. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/node_graph.py +0 -0
  75. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/__init__.py +0 -0
  76. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/bridge.py +0 -0
  77. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/environments/__init__.py +0 -0
  78. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/environments/base.py +0 -0
  79. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/environments/conda.py +0 -0
  80. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/environments/virtual_env.py +0 -0
  81. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/packages/isolated_runner.py +0 -0
  82. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/planner/__init__.py +0 -0
  83. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/planner/executor.py +0 -0
  84. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/planner/plan.py +0 -0
  85. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/planner/schedule.py +0 -0
  86. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/planner/tasks.py +0 -0
  87. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/telemetry/__init__.py +0 -0
  88. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/telemetry/telemetry.py +0 -0
  89. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/typing.py +0 -0
  90. {fal-0.9.3 → fal-0.9.4}/src/fal/dbt/utils.py +0 -0
  91. {fal-0.9.3 → fal-0.9.4}/tests/_fal_testing/__init__.py +0 -0
  92. {fal-0.9.3 → fal-0.9.4}/tests/_fal_testing/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fal
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: Run python scripts from any dbt project.
5
5
  Home-page: https://github.com/fal-ai/fal
6
6
  Keywords: dbt,pandas,fal,runtime
@@ -1,6 +1,8 @@
1
1
  [tool.poetry]
2
+ # name = "dbt-fal"
3
+ # version = "1.5.6a0"
2
4
  name = "fal"
3
- version = "0.9.3"
5
+ version = "0.9.4"
4
6
  description = "Run python scripts from any dbt project."
5
7
  readme = "README.md"
6
8
  homepage = "https://github.com/fal-ai/fal"
@@ -95,5 +97,5 @@ build-backend = "poetry.core.masonry.api"
95
97
 
96
98
  [tool.poetry.scripts]
97
99
  dbt-fal = "fal.dbt.cli:cli"
98
- # NOTE: deprecated use
100
+ # TODO: remove once `fal` is no longer a supported package
99
101
  fal = "fal.dbt.cli:fal_cli"
@@ -0,0 +1 @@
1
+ version = '0.9.4'
@@ -0,0 +1 @@
1
+ version = '0.9.4'
@@ -1,3 +1,5 @@
1
+ # TODO: remove once `fal` is no longer a supported package
2
+ # The whole file
1
3
  DBT_FAL_IMPORT_NOTICE = \
2
4
  """The dbt tool `fal` and `dbt-fal` adapter have been merged into a single tool.
3
5
  Please import from the `fal.dbt` module instead.
@@ -208,7 +208,12 @@ def _build_cli_parser():
208
208
  description="Run Python scripts on dbt models",
209
209
  )
210
210
 
211
- version = pkg_resources.get_distribution("dbt-fal").version
211
+ try:
212
+ version = pkg_resources.get_distribution("dbt-fal").version
213
+ except pkg_resources.DistributionNotFound:
214
+ # TODO: remove once `fal` is no longer a supported package
215
+ version = pkg_resources.get_distribution("fal").version
216
+
212
217
  parser.add_argument(
213
218
  "-v",
214
219
  "--version",
@@ -11,6 +11,7 @@ from fal.dbt.telemetry import telemetry
11
11
  from fal.dbt.integration.logger import log_manager
12
12
 
13
13
 
14
+ # TODO: remove once `fal` is no longer a supported package
14
15
  DBT_FAL_COMMAND_NOTICE = \
15
16
  """The dbt tool `fal` and `dbt-fal` adapter have been merged into a single tool.
16
17
  Please use the new `dbt-fal` command line tool instead.
@@ -20,6 +21,7 @@ Then run your command like
20
21
  dbt-fal <command>
21
22
  """
22
23
 
24
+ # TODO: remove once `fal` is no longer a supported package
23
25
  def fal_cli(argv: List[str] = sys.argv):
24
26
  print(DBT_FAL_COMMAND_NOTICE)
25
27
  cli(argv)
@@ -101,12 +101,25 @@ def _get_dbt_fal_package() -> Tuple[str, Optional[str]]:
101
101
  else:
102
102
  # We are going to install it from PyPI.
103
103
  dbt_fal_dep = "dbt-fal"
104
- dbt_fal_version = importlib_metadata.version("dbt-fal")
104
+ try:
105
+ dbt_fal_version = importlib_metadata.version("dbt-fal")
106
+ except importlib_metadata.PackageNotFoundError:
107
+ # TODO: remove once `fal` is no longer a supported package
108
+ dbt_fal_version = importlib_metadata.version("fal")
105
109
  else:
106
110
  dbt_fal_dep = "dbt-fal"
107
- dbt_fal_version = importlib_metadata.version("dbt-fal")
111
+ try:
112
+ dbt_fal_version = importlib_metadata.version("dbt-fal")
113
+ except importlib_metadata.PackageNotFoundError:
114
+ # TODO: remove once `fal` is no longer a supported package
115
+ dbt_fal_version = importlib_metadata.version("fal")
116
+
117
+ try:
118
+ dbt_fal_extras = _find_fal_extras("dbt-fal")
119
+ except importlib_metadata.PackageNotFoundError:
120
+ # TODO: remove once `fal` is no longer a supported package
121
+ dbt_fal_extras = _find_fal_extras("fal")
108
122
 
109
- dbt_fal_extras = _find_fal_extras("dbt-fal")
110
123
  if dbt_fal_extras:
111
124
  dbt_fal_dep += f"[{','.join(dbt_fal_extras)}]"
112
125
 
@@ -1 +0,0 @@
1
- version = '0.9.3'
@@ -1 +0,0 @@
1
- version = '0.9.3'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes