Asserting rule to specific module using Pythonic interface?
14 views
Skip to first unread message
Henry Schmitt
unread,
Dec 10, 2024, 1:18:08 AM12/10/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyswip
Hello,
I need to be able to put together sets of rules in different modules. I found I can assert facts to specific modules by using the pythonic interface by calling a Functor with the module parameter, but I can't find an example of how to assert rules in a similar way. Is this possible?
Thank you
yuce
unread,
Dec 10, 2024, 2:12:51 PM12/10/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyswip
Hi,
If you want to use the Pythonic interface you can use something like this: