Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds testing to signal instance creation #3077

Merged
merged 5 commits into from
Mar 8, 2023
Merged

Adds testing to signal instance creation #3077

merged 5 commits into from
Mar 8, 2023

Conversation

kevgliss
Copy link
Contributor

@kevgliss kevgliss commented Mar 8, 2023

No description provided.

@kevgliss kevgliss added the bug Something isn't working label Mar 8, 2023
external_id=signal_instance_data["id"],
variant=signal_instance_data.variant,
external_id=signal_instance_data.get("id"),
variant=signal_instance_data["variant"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be .get("variant") since it's optional field?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, technically it's one or the other, I think we may need to eventually re-add something like raw signal back and enforce either 'id' or 'variant' (otherwise we can't do anything with it). But I need to figure out how to add arbitrary keys in a pydantic model (if that's even possible).

I'm going to merge this for the time being until I can figure that out.

@kevgliss kevgliss merged commit 1269260 into master Mar 8, 2023
@kevgliss kevgliss deleted the bugfix/variant branch March 8, 2023 17:34
rutvijmehta-harness pushed a commit to rutvijmehta-harness/dispatch that referenced this pull request Mar 17, 2023
* Adds testing to signal instance creation

* Adds to tags to update model

* Fixing tests
rutvijmehta-harness added a commit to rutvijmehta-harness/dispatch that referenced this pull request Mar 17, 2023
* Adds testing to signal instance creation

* Adds to tags to update model

* Fixing tests

Co-authored-by: kevgliss <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants