Giter Club home page Giter Club logo

Comments (6)

noskill avatar noskill commented on June 18, 2024

SubsetLink is a InheritanceLink. If you don't want subtypes run get_atoms_by_type with subtype=False

from opencog.

linas avatar linas commented on June 18, 2024

Closing, this seems to be not-a-bug, per last comment.

from opencog.

leungmanhin avatar leungmanhin commented on June 18, 2024

Just to add one comment, there is also a Scheme version of this function (cog-get-atoms) and by default it doesn't return any subtypes of the atom type being queried (and it seems more intuitive that way). It would be better if we have consistent APIs across different bindings?

from opencog.

linas avatar linas commented on June 18, 2024

t would be better if we have consistent API

Yes, it would be. I'd happily merge such a pull req, if @noskill has no objections.

from opencog.

noskill avatar noskill commented on June 18, 2024

@linas Sure, i have no objection to changing of scheme api.

from opencog.

linas avatar linas commented on June 18, 2024

No we are not changing the scheme API. There is too much code that uses it as it is. No one uses the Python API for anything .. change the python.

from opencog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.