We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clear_cache()
1 parent 4583af8 commit 7f0f095Copy full SHA for 7f0f095
test/fields.uts
@@ -616,6 +616,7 @@ assert b[TestPkt:2].f1 == 100
616
assert Raw in b and b[Raw].load == b"123456"
617
618
a.plist.append(TestPkt(f1=200))
619
+a.clear_cache() # List fields, if modified, do not automatically invalidate the cache. We currently have to do it explicitly.
620
b = TestPLF2(raw(a))
621
b.show()
622
assert b.len1 == 5 and b.len2 == 5
@@ -713,6 +714,7 @@ assert b[TestPkt:2].f1 == 100
713
714
715
716
717
718
719
720
0 commit comments