-
Notifications
You must be signed in to change notification settings - Fork 7
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
wip: move stats as stream #184
wip: move stats as stream #184
Conversation
423a960
to
6be5252
Compare
6be5252
to
a19034a
Compare
a19034a
to
34bc577
Compare
@@ -206,7 +206,7 @@ def publish_and_mint_recid(draft, version): | |||
record = publish_and_mint_recid(draft, version) | |||
# Force the created date. This can be done after publish as the service | |||
# overrides the `created` date otherwise. | |||
self._load_model_fields(record) | |||
self._load_model_fields(record, entry) |
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.
that fixes the creation date
|
||
logger.info("Done!") | ||
|
||
def validate_stats_for_recid(self, recid, record, event_type): |
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.
That is actually validating that each record stats is equal in both systems
3587783
to
6d8674a
Compare
extra_data["migration"]["source"] = "RECORD, EMAIL NOT FOUND IN ANY SOURCE" | ||
logger_users.warning(f"User {email} not found.") | ||
extra_data["migration"]["note"] = "MIGRATED INACTIVE ACCOUNT" | ||
extra_data["migration"]["note"] = "MIGRATED INACTIVE ACCOUNT" |
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.
can you revert the tab? it was in correct block before
No description provided.