-
Notifications
You must be signed in to change notification settings - Fork 3
IWF-607: Implement Search Attributes store and API #83
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
Conversation
|
Overall, looks great to me! I don't see any issues. At the same time, I'm not well versed in Python so I might be missing something. Perhaps once we had the tests we could easily see issues, but I can't say for now |
| types[field.key] = field.value_type | ||
| self._data_attribute_types[wf_type] = types | ||
|
|
||
| def _register_search_attributes(self, wf: ObjectWorkflow): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have missed it, but where/how does this get called.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like it's called in add_workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 39!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
| types[field.key] = field.value_type | ||
| self._data_attribute_types[wf_type] = types | ||
|
|
||
| def _register_search_attributes(self, wf: ObjectWorkflow): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like it's called in add_workflow
The set methods and tests will be added in the next MR, which will point to this one, so everything is merged back to the main at once.
Keeping those separate to avoid a huge MR. This is already somewhat big.