Open gl-yziquel opened 9 months ago
try making the suggested change, of using get_handles_by_type
Note also that the cogserver provides a generic json API that might be more general than the code in this repo. There's a README for it, and several examples/demos.
Hi @gl-yziquel (sorry for the late reply). As @linas suggested, you should use the get_handles_by_type
method. I'm currently refactoring the code and adding support for Python API that works with Distributed AtomSpace (DAS). I will include the above change when I finally update the repo.
Also, I agree with @linas that if you should checkout the cogserver as it is well-maintained and supports the latest features of the Atomspace. This code was written to work with the annotation service and has a narrower scope/utility than what you'll find at the official Atomspace.
Thank you for the feedback. I'll try to check that out.
I made the suggested fix. The build keeps failing because HandleSet
has been split into two distinct entities: HandleSeq
and UnorderedHandleSet
.
Hi.
I tried compiling atomspace-rpc. It complains about a method
get_handleset_by_type
not being available. Though it does claim or seem to claim thatget_handles_by_type
does exist.It could be possible that such a change occured in dependencies. Anyhow, as of today, this code doesn't compile.