potassco / clorm

🗃️ A Python ORM-like interface for the Clingo Answer Set Programming (ASP) reasoner
https://clorm.readthedocs.io
MIT License
52 stars 5 forks source link

Update documentation for `Raw` and `RawField` #107

Closed daveraja closed 2 years ago

daveraja commented 2 years ago

The documentation is currently out of date. When using a RawField you should use a clingo.Raw object. Maybe also need to add a check in RawField.pytocl() so that it raises an exception if a Raw object is not used.

daveraja commented 2 years ago

Fixed with commit https://github.com/potassco/clorm/commit/3569a91daa1d691f0a7f5a9534db925e027cdbf9