Skip to content

Commit

Permalink
Remove unsupported legacy MetricFlow Client API
Browse files Browse the repository at this point in the history
In the original version of MetricFlow we supported a Python
client for programmatically issuing queries. This was a thin
wrapper over our internal APIs for running queries against
SQL engines.

Since the acquisition of Transform by dbt Labs the direction of
MetricFlow has shifted heavily (and appropriately) in the direction
of being a support library for building and rendering metric queries
against target query dialects (currently all SQL).

This legacy public API has not been maintained at all - it uses legacy
string-typed inputs, it does not support saved queries, and it allows
for a highly limited scope set of operations.

Furthermore, it is in a package directory path that indicates we have
a public API. Since we do not, in fact, have a supported public API
just yet, it behooves us to remove this in order to unblock some
efforts to simplify our internals and move us closer to the point
where we can build out a publicly supported API, whenever that time
may be.
  • Loading branch information
tlento committed Mar 20, 2024
1 parent efe716d commit 438007b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 376 deletions.
1 change: 0 additions & 1 deletion metricflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from metricflow.api.metricflow_client import MetricFlowClient # noqa: D
Empty file removed metricflow/api/__init__.py
Empty file.
224 changes: 0 additions & 224 deletions metricflow/api/metricflow_client.py

This file was deleted.

Empty file removed metricflow/test/api/__init__.py
Empty file.
20 changes: 0 additions & 20 deletions metricflow/test/api/conftest.py

This file was deleted.

131 changes: 0 additions & 131 deletions metricflow/test/api/test_metricflow_client.py

This file was deleted.

0 comments on commit 438007b

Please sign in to comment.