You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@hamilton.apache.org by "skrawcz (via GitHub)" <gi...@apache.org> on 2026/06/06 22:34:22 UTC

Re: [PR] Make list_available_variables return topological order [hamilton]

skrawcz commented on code in PR #1602:
URL: https://github.com/apache/hamilton/pull/1602#discussion_r3368381859


##########
tests/test_hamilton_driver.py:
##########
@@ -149,6 +149,19 @@ def test_driver_variables_exposes_tags():
     assert tags["d"] == {"module": "tests.resources.tagging", "test_list": ["us", "uk"]}
 
 
+def test_driver_variables_are_topologically_sorted():
+    def z_dependency() -> int:
+        return 1
+
+    def a_final(z_dependency: int) -> int:
+        return z_dependency + 1

Review Comment:
   want to add something more complex?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@hamilton.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org