fal 0.9.3__tar.gz → 0.9.5__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.
- {fal-0.9.3 → fal-0.9.5}/PKG-INFO +1 -1
- {fal-0.9.3 → fal-0.9.5}/pyproject.toml +4 -2
- fal-0.9.5/src/dbt/adapters/fal/__version__.py +1 -0
- fal-0.9.5/src/dbt/adapters/fal_experimental/__version__.py +1 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/telemetry/telemetry.py +2 -2
- {fal-0.9.3 → fal-0.9.5}/src/fal/__init__.py +2 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/args.py +6 -1
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/cli.py +2 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/dependency_analysis.py +16 -3
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/telemetry/telemetry.py +2 -2
- fal-0.9.3/src/dbt/adapters/fal/__version__.py +0 -1
- fal-0.9.3/src/dbt/adapters/fal_experimental/__version__.py +0 -1
- {fal-0.9.3 → fal-0.9.5}/README.md +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal/connections.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal/impl.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal/load_db_profile.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal/wrappers.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/adapter.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/adapter_support.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/connections.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/impl.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/athena.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/bigquery.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/duckdb.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/postgres.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/redshift.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/snowflake.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/support/trino.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/telemetry/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/teleport.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/teleport_adapter_support.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/teleport_support/duckdb.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/teleport_support/snowflake.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/utils/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/utils/environments.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/adapters/fal_experimental/utils/yaml_helper.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/python/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/python/connections.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/python/impl.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/teleport/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/teleport/impl.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/fal/adapters/teleport/info.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal/dbt_project.yml +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal/macros/materializations/table.sql +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal/macros/teleport_duckdb.sql +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal/macros/teleport_snowflake.sql +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal_experimental/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal_experimental/dbt_project.yml +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/dbt/include/fal_experimental/macros/materializations/table.sql +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/dbt_runner.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/fal_runner.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/flow_runner.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/model_generator/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/model_generator/model_generator.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/model_generator/module_check.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/cli/selectors.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/fal_script.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/feature_store/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/feature_store/feature.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/lib.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/logger.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/magics.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/parse.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/project.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/utils/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/utils/yaml_helper.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/integration/version.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/new/project.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/node_graph.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/bridge.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/environments/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/environments/base.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/environments/conda.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/environments/virtual_env.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/packages/isolated_runner.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/planner/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/planner/executor.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/planner/plan.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/planner/schedule.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/planner/tasks.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/telemetry/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/typing.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/src/fal/dbt/utils.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/tests/_fal_testing/__init__.py +0 -0
- {fal-0.9.3 → fal-0.9.5}/tests/_fal_testing/utils.py +0 -0
{fal-0.9.3 → fal-0.9.5}/PKG-INFO
RENAMED
|
@@ -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.
|
|
5
|
+
version = "0.9.5"
|
|
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
|
-
#
|
|
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.5'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = '0.9.5'
|
|
@@ -107,7 +107,7 @@ def dbt_installed_version():
|
|
|
107
107
|
"""Returns: dbt version"""
|
|
108
108
|
try:
|
|
109
109
|
return pkg_resources.get_distribution("dbt-core").version
|
|
110
|
-
except
|
|
110
|
+
except pkg_resources.DistributionNotFound:
|
|
111
111
|
return
|
|
112
112
|
|
|
113
113
|
|
|
@@ -121,7 +121,7 @@ def fal_installed_version():
|
|
|
121
121
|
"""Returns: fal version"""
|
|
122
122
|
try:
|
|
123
123
|
return pkg_resources.get_distribution("dbt-fal").version
|
|
124
|
-
except
|
|
124
|
+
except pkg_resources.DistributionNotFound:
|
|
125
125
|
return
|
|
126
126
|
|
|
127
127
|
|
|
@@ -208,7 +208,12 @@ def _build_cli_parser():
|
|
|
208
208
|
description="Run Python scripts on dbt models",
|
|
209
209
|
)
|
|
210
210
|
|
|
211
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -112,7 +112,7 @@ def dbt_installed_version():
|
|
|
112
112
|
"""Returns: dbt version"""
|
|
113
113
|
try:
|
|
114
114
|
return pkg_resources.get_distribution("dbt-core").version
|
|
115
|
-
except
|
|
115
|
+
except pkg_resources.DistributionNotFound:
|
|
116
116
|
return
|
|
117
117
|
|
|
118
118
|
|
|
@@ -128,7 +128,7 @@ def fal_installed_version():
|
|
|
128
128
|
"""Returns: fal version"""
|
|
129
129
|
try:
|
|
130
130
|
return pkg_resources.get_distribution("dbt-fal").version
|
|
131
|
-
except
|
|
131
|
+
except pkg_resources.DistributionNotFound:
|
|
132
132
|
return
|
|
133
133
|
|
|
134
134
|
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|