From 0c5645aeb19a53df7bd1259748bc897613d51672 Mon Sep 17 00:00:00 2001 From: AstrakhantsevaAA Date: Thu, 26 Oct 2023 15:41:35 +0200 Subject: [PATCH] add example tags --- .../docs/examples/chess_production/code/.dlt/secrets.toml | 2 ++ .../docs/examples/chess_production/code/chess-snippets.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/website/docs/examples/chess_production/code/.dlt/secrets.toml b/docs/website/docs/examples/chess_production/code/.dlt/secrets.toml index c714ff1f9c..978f2c1bec 100644 --- a/docs/website/docs/examples/chess_production/code/.dlt/secrets.toml +++ b/docs/website/docs/examples/chess_production/code/.dlt/secrets.toml @@ -1,2 +1,4 @@ +# @@@DLT_SNIPPET_START example [runtime] slack_incoming_hook="" +# @@@DLT_SNIPPET_END example diff --git a/docs/website/docs/examples/chess_production/code/chess-snippets.py b/docs/website/docs/examples/chess_production/code/chess-snippets.py index 215477ec0a..b4463bacf6 100644 --- a/docs/website/docs/examples/chess_production/code/chess-snippets.py +++ b/docs/website/docs/examples/chess_production/code/chess-snippets.py @@ -5,6 +5,7 @@ @skipifgithubfork def incremental_snippet() -> None: + # @@@DLT_SNIPPET_START example # @@@DLT_SNIPPET_START markdown_source import threading from typing import Any, Iterator @@ -179,6 +180,7 @@ def load_data_with_retry(data): else: print(f"Players table contains {count} rows") # @@@DLT_SNIPPET_END markdown_norm_info + # @@@DLT_SNIPPET_END example # check that stuff was loaded row_counts = pipeline.last_trace.last_normalize_info.row_counts