Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 pyke3-1.1.1,你如何编写一个“断言”包含之前定义的另一个规则的规则?我想在前向链接类型中执行此操作。
例子:
Rule1 foreach questions.test_question(True) 断言 Python print("rule 1 called")
Rule2 foreach questions.test_question2(True) 断言(如何在这里调用 rule1?)