Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kids-first/kf-api-study-creator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 38be728267dec8a2bbc50f1a861492f965addaa1
Choose a base ref
..
head repository: kids-first/kf-api-study-creator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 52250f091324d1b9dbdc7f6c2f588729706e24eb
Choose a head ref
Showing with 0 additions and 12 deletions.
  1. +0 −4 creator/dewrangle/client.py
  2. +0 −8 creator/studies/schema.py
4 changes: 0 additions & 4 deletions creator/dewrangle/client.py
Original file line number Diff line number Diff line change
@@ -24,10 +24,6 @@ def __init__(self, personal_access_token=None, url=None):
"Content-Type": "application/json"
}
)
logger.info(
f"********* URL: {self.url}\n"
f"********* TOKEN: {str(pat)[0:2]}\n"
)

def _send_post_request(self, body):
"""
8 changes: 0 additions & 8 deletions creator/studies/schema.py
Original file line number Diff line number Diff line change
@@ -65,14 +65,6 @@ def resolve_all_studies(self, info, **kwargs):
user = info.context.user

if user.has_perm("studies.view_study"):
logger.info(
f"************ FEAT_DEWRANGLE_INTEGRATION: "
f"{settings.FEAT_DEWRANGLE_INTEGRATION}"
)
logger.info(
f"************ DEWRANGLE_URL "
f"{settings.DEWRANGLE_URL}"
)
return Study.objects.filter(deleted=False).all()

if user.has_perm("studies.view_my_study"):