Skip to content

feat(gfql): add is_not_in() predicate #966

@lmeyerov

Description

@lmeyerov

Summary

The is_in() predicate exists but there is no is_not_in() counterpart. The operator reference table in docs/source/gfql/predicates/quick.rst listed it but it was never implemented.

Current workaround

n(query="type not in ['bot', 'spam']")

Proposed

from graphistry import is_not_in
n({"type": is_not_in(["bot", "spam"])})

Should mirror is_in() semantics with negation. Implementation would go in graphistry/compute/predicates/ alongside is_in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions