Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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