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

DCF-1384: New DRS fields #207

Merged
merged 13 commits into from
Feb 26, 2024

Conversation

MaribelleHGomez
Copy link
Contributor

@MaribelleHGomez MaribelleHGomez commented Jan 27, 2024

Jira Ticket: PXP-1384

New Features

  • DRS fields added to record: description, content_created_date, content_updated_date

Breaking Changes

Bug Fixes

Improvements

Dependency updates

  • indexclient
  • drsclient
  • pypfb
  • indexd

Deployment changes

Copy link

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@MaribelleHGomez MaribelleHGomez force-pushed the feat/DCF-1384-gen3index-new-drs-fields branch 3 times, most recently from 41cc37e to 9294c8d Compare February 1, 2024 12:25
@MaribelleHGomez MaribelleHGomez force-pushed the feat/DCF-1384-gen3index-new-drs-fields branch from d07f3c0 to 9294c8d Compare February 8, 2024 20:54
Comment on lines -433 to +454
return rec.to_json()
raise_for_status_and_print_error(resp)

return resp.json()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why change from to_json() to json()?

@@ -229,3 +229,52 @@ def test_blank(gen3_index):
# delete the record
drec = gen3_index.delete_record(updatedblank["did"])
assert drec._deleted


def test_desc_and_content_dates(gen3_index):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a test where these fields are not provided?

BinamB
BinamB previously approved these changes Feb 26, 2024
@MaribelleHGomez MaribelleHGomez merged commit 5d4f75d into master Feb 26, 2024
12 checks passed
@MaribelleHGomez MaribelleHGomez deleted the feat/DCF-1384-gen3index-new-drs-fields branch February 26, 2024 19:44
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