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

Management commands #29600

Draft
wants to merge 7 commits into
base: nh/rep/create_stubs
Choose a base branch
from
Draft

Management commands #29600

wants to merge 7 commits into from

Conversation

kaapstorm
Copy link
Contributor

Summary

Repeat Records Couch-to-SQL migration PR 5 of 6

  • CEP
  • Note the base branch is that of the previous PR

See PR #29599 for more context.

The work I intended for this branch is not complete. There is a commit missing after "Update update_cancelled_records command" and before "Command to revert RepeatRecord migration" to update broken tests.

Safety Assurance

  • Risk label is set correctly
  • All migrations are backwards compatible and won't block deploy
  • The set of people pinged as reviewers is appropriate for the level of risk of the change
  • If QA is part of the safety story, the "Awaiting QA" label is used
  • I have confidence that this PR will not introduce a regression for the reasons below

Automated test coverage

Test coverage for this PR is not complete.

QA Plan

Left to the discretion of the SaaS team.

Safety story

This PR will be subject to change. It is not safe to merge.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

@kaapstorm kaapstorm added the product/invisible Change has no end-user visible impact label Apr 23, 2021
repeater_id: Optional[str] = None,
states: Optional[List[str]] = None,
order_by: Optional[List[str]] = None,
) -> Tuple[Iterator['SQLRepeatRecord'], int]:

Choose a reason for hiding this comment

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

F821 undefined name 'SQLRepeatRecord'

queryset: QuerySet,
record_count: int,
chunk_size: int = 1000,
) -> Iterator['SQLRepeatRecord']:

Choose a reason for hiding this comment

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

F821 undefined name 'SQLRepeatRecord'

@kaapstorm kaapstorm mentioned this pull request Apr 23, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants