Skip to content

Conversation

@Vlad0n20
Copy link
Contributor

Purpose

Changes

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

https://openscience.atlassian.net/browse/ENG-8524?atlOrigin=eyJpIjoiY2QyMDBlZDRmMGE2NGExNjg1Y2NkZjMyZTc2MDA3NTYiLCJwIjoiaiJ9

@adlius adlius changed the base branch from feature/pbs-25-16 to feature/pbs-25-19 September 18, 2025 05:19
@adlius
Copy link
Collaborator

adlius commented Sep 18, 2025

@Vlad0n20 Could you rebase this onto the latest feature/pbs-25-19 branch?

@adlius adlius deleted the branch CenterForOpenScience:feature/pbs-25-25 October 16, 2025 13:17
@adlius adlius closed this Oct 16, 2025
@adlius adlius reopened this Oct 29, 2025
@adlius adlius changed the base branch from feature/pbs-25-19 to feature/pbs-25-21 October 29, 2025 14:19
try:
serializer = view.get_serializer(data=request.data)
serializer.is_valid(raise_exception=True)
trigger = serializer.validated_data.get('trigger')
Copy link
Contributor

Choose a reason for hiding this comment

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

you already have

serializer = view.get_serializer(data=request.data)
serializer.is_valid(raise_exception=True)
trigger = serializer.validated_data.get('trigger')

below, no need to call it again here

# User can trigger state changes on this reviewable, but can they use this trigger in particular?
serializer = view.get_serializer(data=request.data)
serializer.is_valid(raise_exception=True)
trigger = serializer.validated_data.get('trigger')
Copy link
Contributor

Choose a reason for hiding this comment

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

DRY

@antkryt
Copy link
Contributor

antkryt commented Dec 1, 2025

LGTM

@Vlad0n20 Vlad0n20 changed the base branch from feature/pbs-25-21 to feature/pbs-25-25 December 24, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants