model: add Beam (Reflection) (#30670)

This commit is contained in:
Daniel Han authored and GitHub committed 2026-10-17 00:07:55 +02:00
1 parent 23f7aabc16
commit 01fc3aae84
20 files changed
+732 -11

No files matched your search

+6
View File
@@ -2011,6 +2011,12 @@ static void test_object_methods(testing & t) {
"a b "
);
test_template(t, "object | list",
"{{ (obj | list) == ['b', 'a'] }} {{ obj | list | join(',') }}",
{{"obj", {{"b", 1}, {"a", 2}}}},
"True b,a"
);
test_template(t, "object.values()",
"{% for v in obj.values() %}{{ v }} {% endfor %}",
{{"obj", {{"a", 1}, {"b", 2}}}},