From 28bed20f8908d5f79623893ecdac760604575b0e Mon Sep 17 00:00:00 2001 From: Max Halford Date: Mon, 16 Oct 2023 23:01:04 +0200 Subject: [PATCH] fix readme tests --- README.md | 8 ++++---- examples/jaffle_shop/docs/README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0322b6b..500705d 100644 --- a/README.md +++ b/README.md @@ -293,14 +293,14 @@ staging.payments >>> views = [v for v in views if v.schema != 'tests'] >>> dag = DAGOfViews(views) >>> while dag.is_active(): -... for schema, table in dag.get_ready(): +... for schema, table in sorted(dag.get_ready()): ... print(f'{schema}.{table}') ... dag.done((schema, table)) -staging.payments -staging.orders staging.customers -core.orders +staging.orders +staging.payments core.customers +core.orders ``` diff --git a/examples/jaffle_shop/docs/README.md b/examples/jaffle_shop/docs/README.md index e5553bf..0909ef2 100644 --- a/examples/jaffle_shop/docs/README.md +++ b/examples/jaffle_shop/docs/README.md @@ -10,8 +10,8 @@ ```mermaid %%{init: {"flowchart": {"defaultRenderer": "elk"}} }%% flowchart TB - core(core) staging(staging) + core(core) staging --> core ```