gchq / gafferpy

Python API for Gaffer
https://gchq.github.io/gafferpy/
Apache License 2.0
3 stars 2 forks source link

gafferpy seed matching backwards compatibility #7

Open t92549 opened 2 years ago

t92549 commented 2 years ago

Gaffer 2 removed seed matching, but gafferpy could retain backwards compatibility with existing scripts by adding this back and translating the json to use Views instead.

t92549 commented 2 years ago

This could be done with **kwargs and the Operation base class

t92549 commented 1 year ago

SeedMatching was only used in GetElements and GetElementsBetweenSets so it could also be used in just those

t92549 commented 1 year ago

This can only be done in operations when there is no View provided and when the user provides elements rather than seeds. This is because the group is needed to put into the View.