Skip to content

Customer Data Platform: value is probably not a dictionary #89

Closed

Description

@iht

This line is causing the linter to fail, because it is strange that the value is a dictionary:

'coupon_upc': coupon_redempt_value['coupon_upc'] if coupon_redempt_value is not None else None,

We should write a test to make sure this works. If it is indeed a dictionary, let's add type annotations so the linter does not get confused. If it is not a dictionary, we should fix the pipeline.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions