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

Update requirements #2070

Merged
merged 8 commits into from
May 21, 2021
Merged

Update requirements #2070

merged 8 commits into from
May 21, 2021

Conversation

DavisRayM
Copy link
Contributor

@DavisRayM DavisRayM commented May 4, 2021

Changes / Features implemented

  • Update requirements
  • Removes unused organization project serializer field; The field was not being used for any apparent purpose as the owner field already maps directly to the organization. Including the organization as a write_only field caused issues since it tried to enforce a UniqueTogether validation on a non existent owner model field.
  • Remove decode() call. PyJWTs decode function now returns strings
  • Update build_json_resource_obj function; Include new serializer arguement

Steps taken to verify this change does what is intended

  • QA

Side effects of implementing this change

N/A

Before submitting this PR for review, please make sure you have:

  • Included tests
  • Updated documentation

Closes #2048

@DavisRayM DavisRayM force-pushed the update-requirements branch 5 times, most recently from 0af4dfb to a86be14 Compare May 18, 2021 08:40
@DavisRayM DavisRayM changed the title [WIP] Update requirements Update requirements May 18, 2021
WinnyTroy
WinnyTroy previously approved these changes May 20, 2021
Copy link
Contributor

@WinnyTroy WinnyTroy left a comment

Choose a reason for hiding this comment

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

Looks good

denniswambua
denniswambua previously approved these changes May 20, 2021
PyJWT no longer supports python2 and now returns strings as return
values
Ensure function accepts all necessary arguements
The organization field is currently not used for any purpose within the
ProjectSerializer and causes a `UniqueTogether` error when included in
the serializer alongside the `owner` field.
Expected an error on the `owner` field to be raised instead of an error
on the organization field
@DavisRayM DavisRayM merged commit 1221cd9 into master May 21, 2021
@DavisRayM DavisRayM deleted the update-requirements branch May 21, 2021 08:19
@DavisRayM DavisRayM mentioned this pull request May 31, 2021
3 tasks
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.

Upgrade Celery Dependency to v5.*
3 participants