Skip to content

Ethica Ingest fails if there are no "cull" records #11

@RileyLazarou

Description

@RileyLazarou

The ethica ingest pipeline fails if there are no "cull" records. This is due to the SQL snippets assuming that there will be culled records, using piecemeal constructions such as f"""[...] WHERE user_id IN {tuple(culled)} AND [...]""", where culled is an empty list.

There are several such constructions that need to be fixed, and they aren't limited to "cull" records but other similar empty lists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-codeSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions