Skip to content

Commit

Permalink
feat(core): new metadata persistent layer (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-alisafaee committed Jul 9, 2021
1 parent 0c9c8b6 commit b48adfb
Show file tree
Hide file tree
Showing 27 changed files with 1,680 additions and 296 deletions.
1 change: 1 addition & 0 deletions conftest.py
Expand Up @@ -29,6 +29,7 @@
]

CORE_FIXTURE_LOCATIONS = [
"tests.core.fixtures.core_database",
"tests.core.fixtures.core_datasets",
"tests.core.fixtures.core_plugins",
"tests.core.fixtures.core_projects",
Expand Down
4 changes: 1 addition & 3 deletions renku/cli/graph.py
Expand Up @@ -32,7 +32,6 @@
)
from renku.core.incubation.graph import status as get_status
from renku.core.incubation.graph import update as perform_update
from renku.core.models.workflow.dependency_graph import DependencyGraph
from renku.core.utils.contexts import measure


Expand Down Expand Up @@ -117,8 +116,7 @@ def save(path):
with measure("CREATE DEPENDENCY GRAPH"):

def _to_png(client, path):
dg = DependencyGraph.from_json(client.dependency_graph_path)
dg.to_png(path=path)
client.dependency_graph.to_png(path=path)

Command().command(_to_png).build().execute(path=path)

Expand Down

0 comments on commit b48adfb

Please sign in to comment.