Skip to content

improve/fix filter_list action in shuffle-tools #53

Open
@dadokkio

Description

@dadokkio

I'm doing some test with some nested list that requires some filtering and I'm having some issue.

The first issue is that json.loads fails to parse valid json (eg. one returned from extracted_archive results). I've added an eval() as workaround as done in other action and this behavior is somehow fixed.

Then I put 2 filter_list block and the second one was like this [notice the #]
image

This caused an error because - I think - shuffle considered that as a loop and wrapped the list in [].
So, I moved this block to a new subflow.

Now the block in the subflow is receiving directly a simple list of uid.
But the block requires a field as required parameter so it seems that works only for list of dict 😞

Should I change if to accept also blank field to operate on simple list?
Meanwhile I've seen that an opposite parameter has been added, should we remove duplicated possibilities? [eg, equal opposite - not equal]

Metadata

Metadata

Assignees

No one assigned

    Labels

    MiscAnything that doesn't fit our 8 categoriesbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions