diff --git a/examples/docs/01_Intro.ipynb b/examples/docs/01_Intro.ipynb
index 669a996a..dd5ec85c 100644
--- a/examples/docs/01_Intro.ipynb
+++ b/examples/docs/01_Intro.ipynb
@@ -81,20 +81,20 @@
"\n",
"You can now commit the changes to git.\n",
"\n",
- "\u001B[31m+---------------------------------------------------------------------+\n",
- "\u001B[0m\u001B[31m|\u001B[0m \u001B[31m|\u001B[0m\n",
- "\u001B[31m|\u001B[0m DVC has enabled anonymous aggregate usage analytics. \u001B[31m|\u001B[0m\n",
- "\u001B[31m|\u001B[0m Read the analytics documentation (and how to opt-out) here: \u001B[31m|\u001B[0m\n",
- "\u001B[31m|\u001B[0m <\u001B[36mhttps://dvc.org/doc/user-guide/analytics\u001B[39m> \u001B[31m|\u001B[0m\n",
- "\u001B[31m|\u001B[0m \u001B[31m|\u001B[0m\n",
- "\u001B[31m+---------------------------------------------------------------------+\n",
- "\u001B[0m\n",
- "\u001B[33mWhat's next?\u001B[39m\n",
- "\u001B[33m------------\u001B[39m\n",
- "- Check out the documentation: <\u001B[36mhttps://dvc.org/doc\u001B[39m>\n",
- "- Get help and share ideas: <\u001B[36mhttps://dvc.org/chat\u001B[39m>\n",
- "- Star us on GitHub: <\u001B[36mhttps://github.com/iterative/dvc\u001B[39m>\n",
- "\u001B[0m"
+ "\u001b[31m+---------------------------------------------------------------------+\n",
+ "\u001b[0m\u001b[31m|\u001b[0m \u001b[31m|\u001b[0m\n",
+ "\u001b[31m|\u001b[0m DVC has enabled anonymous aggregate usage analytics. \u001b[31m|\u001b[0m\n",
+ "\u001b[31m|\u001b[0m Read the analytics documentation (and how to opt-out) here: \u001b[31m|\u001b[0m\n",
+ "\u001b[31m|\u001b[0m <\u001b[36mhttps://dvc.org/doc/user-guide/analytics\u001b[39m> \u001b[31m|\u001b[0m\n",
+ "\u001b[31m|\u001b[0m \u001b[31m|\u001b[0m\n",
+ "\u001b[31m+---------------------------------------------------------------------+\n",
+ "\u001b[0m\n",
+ "\u001b[33mWhat's next?\u001b[39m\n",
+ "\u001b[33m------------\u001b[39m\n",
+ "- Check out the documentation: <\u001b[36mhttps://dvc.org/doc\u001b[39m>\n",
+ "- Get help and share ideas: <\u001b[36mhttps://dvc.org/chat\u001b[39m>\n",
+ "- Star us on GitHub: <\u001b[36mhttps://github.com/iterative/dvc\u001b[39m>\n",
+ "\u001b[0m"
]
}
],
@@ -245,6 +245,7 @@
"outputs": [],
"source": [
"import logging\n",
+ "\n",
"config.log_level = logging.INFO"
]
},
diff --git a/examples/docs/03_dependencies.ipynb b/examples/docs/03_dependencies.ipynb
index 0806557d..1d7c0923 100644
--- a/examples/docs/03_dependencies.ipynb
+++ b/examples/docs/03_dependencies.ipynb
@@ -74,7 +74,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "Initialized empty Git repository in /tmp/tmp1cphhnad/.git/\r\n",
+ "Initialized empty Git repository in /tmp/tmp6z7c4790/.git/\r\n",
"Initialized DVC repository.\r\n",
"\r\n",
"You can now commit the changes to git.\r\n",
@@ -153,10 +153,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "2022-02-22 13:37:09,358 (WARNING): Jupyter support is an experimental feature! Please save your notebook before running this command!\n",
+ "2022-03-16 13:42:38,692 (WARNING): Jupyter support is an experimental feature! Please save your notebook before running this command!\n",
"Submit issues to https://github.com/zincware/ZnTrack.\n",
- "2022-02-22 13:37:12,883 (WARNING): Running DVC command: 'dvc run -n RandomNumber ...'\n",
- "2022-02-22 13:37:18,895 (WARNING): Running DVC command: 'dvc run -n ComputePower ...'\n"
+ "2022-03-16 13:42:42,495 (WARNING): Running DVC command: 'dvc run -n RandomNumber ...'\n",
+ "2022-03-16 13:42:49,268 (WARNING): Running DVC command: 'dvc run -n ComputePower ...'\n"
]
}
],
@@ -210,7 +210,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "11.0 ^ 2.0 = 121.0\n"
+ "7.0 ^ 2.0 = 49.0\n"
]
}
],
@@ -288,9 +288,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "2022-02-22 13:37:28,604 (WARNING): Running DVC command: 'dvc run -n WriteToFile ...'\n",
- "2022-02-22 13:37:34,666 (WARNING): Running DVC command: 'dvc run -n PowerFromFile ...'\n",
- "2022-02-22 13:37:40,425 (WARNING): Running DVC command: 'dvc run -n ComparePowers ...'\n"
+ "2022-03-16 13:43:00,548 (WARNING): Running DVC command: 'dvc run -n WriteToFile ...'\n",
+ "2022-03-16 13:43:07,632 (WARNING): Running DVC command: 'dvc run -n PowerFromFile ...'\n",
+ "2022-03-16 13:43:14,835 (WARNING): Running DVC command: 'dvc run -n ComparePowers ...'\n"
]
}
],
@@ -422,9 +422,134 @@
"display(Pretty(\"dvc.yaml\"))"
]
},
+ {
+ "cell_type": "markdown",
+ "source": [
+ "## Node attributes as dependencies\n",
+ "\n",
+ "It is also possible to specify a Node attribute as a dependency. In this case you will be able to access the value of the attribute directly instead of using the Node class.\n",
+ "This can be used for all `dvc.