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

HDX-9091 add info about groups, tags & custom vizs for new datasets #72

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions eventapi/tasks/detect_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ def append_event(self, event: Event):
def _detect_created_dataset(self):
if not self.old_dataset_dict:
changes = _find_dict_changes(self.old_dataset_dict, self.new_dataset_dict, DATASET_FIELDS)
self._detect_groups_change(changes)
self._detect_tags_change(changes)
self._detect_customviz_change(changes)
if changes:
list_of_changes = list(changes.values())
event_dict = self.create_event_dict(EVENT_TYPE_DATASET_CREATED, changed_fields=list_of_changes)
Expand Down
Loading