gchq / gaffer-tools

gaffer-tools is deprecated. Use https://github.com/gchq/gafferpy instead
Apache License 2.0
50 stars 29 forks source link

Add TupleAdaptedFunctions to python shell #786

Closed d47853 closed 5 years ago

d47853 commented 5 years ago

There is an error in Gaffer documentation preventing it from building:

[ERROR] Unable to convert json: {"class":"uk.gov.gchq.koryphe.impl.function.FunctionChain","functions":
[{"class":"uk.gov.gchq.koryphe.tuple.function.TupleAdaptedFunctionComposite","functions":
[{"selection":[0],"function":
{"class":"uk.gov.gchq.koryphe.impl.function.ToUpperCase"},"projection":[1]}]},
{"class":"uk.gov.gchq.koryphe.tuple.function.TupleAdaptedFunctionComposite","functions":
[{"selection":[1],"function":{"class":"uk.gov.gchq.koryphe.impl.function.ToSet"},"projection":
[2]}]}]}

Add the necessary functions to get this to work.

d47853 commented 5 years ago

Merged into develop