-
Notifications
You must be signed in to change notification settings - Fork 0
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
[feature/PI-592-gsi_upgrade] gsi upgrade #395
Conversation
a0b7292
to
f0a3bea
Compare
questionnaire_responses: dict[str, dict[str, "QuestionnaireResponse"]] | ||
|
||
|
||
@dataclass(kw_only=True, slots=True) | ||
class DeviceTagsClearedEvent(Event): | ||
id: str | ||
keys: list[dict] | ||
deleted_tags: list["DeviceTag"] | ||
deleted_tags: list[str] |
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.
Why aren't these DeviceTag's anymore?
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.
Good question... whilst doing this ticket I found that in half the Device*Event
s the tags
field was a string and half was a DeviceTag
, so I've standardised and corrected it. Makes sense for the event to see them as str
as that's all the repo handler needs. I was thinking that could do the same with keys
and DeviceKey
, but it's a bit more complicated, so probs worth doing that in a separate tech debt ticket
src/layers/domain/repository/repository/tests/test_repository_v3.py
Outdated
Show resolved
Hide resolved
src/layers/domain/repository/repository/tests/test_repository_v3.py
Outdated
Show resolved
Hide resolved
f0a3bea
to
21f0ad3
Compare
21f0ad3
to
86fffb3
Compare
Summary
Remove items from this list if they are not relevant. Remove this line once this has been done
Details
Add any summary information of what is in the change. Remove this line if you have nothing to add.
Pull Request Naming
Pull requests should be named using the following format:
Tag can be one of:
Fix
- for a bug fix. (Patch release)Update
- either for a backwards-compatible enhancement or for a rule change that adds reported problems. (Patch release)New
- implemented a new feature. (Minor release)Breaking
- for a backwards-incompatible enhancement or feature. (Major release)Docs
- changes to documentation only. (Patch release)Build
- changes to build process only. (No release)Upgrade
- for a dependency upgrade. (Patch release)Chore
- for refactoring, adding tests, etc. (anything that isn't user-facing). (Patch release)If the current release is x.y.z then
Correct tagging is necessary for our automated versioning and release process.
The description of your pull request will be used as the commit message for the merge, and also be included in the changelog. Please ensure that your title is sufficiently descriptive.
Rerunning Checks
If you need to rename your pull request, you can restart the checks by either:
git commit --allow-empty -m 'trigger build' git push
Rerunning the checks from within the pull request will not use the updated title.