Skip to content

Commit 1928511

Browse files
committed
Implemented PrefixesCreateApi
Changes to be committed: modified: biocompute/apis.py modified: config/fixtures/local_data.json modified: config/services.py modified: config/urls.py modified: prefix/apis.py modified: prefix/services.py modified: prefix/urls.py modified: search/apis.py modified: tests/test_views/test_api_auth_remove.py modified: tests/test_views/test_api_objects_drafts_create.py new file: tests/test_views/test_api_prefixes_create.py
1 parent 301693a commit 1928511

File tree

11 files changed

+718
-5975
lines changed

11 files changed

+718
-5975
lines changed

biocompute/apis.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def post(self, request) -> Response:
9999
accepted_requests = True
100100

101101
except Exception as err:
102-
print(err)
103102
response_data.append(response_constructor(
104103
identifier=bco['object_id'].value,
105104
status = "SERVER ERROR",
@@ -117,8 +116,6 @@ def post(self, request) -> Response:
117116
))
118117
rejected_requests = True
119118

120-
print(accepted_requests, rejected_requests )
121-
122119
if accepted_requests is False and rejected_requests == True:
123120
return Response(
124121
status=status.HTTP_400_BAD_REQUEST,

0 commit comments

Comments
 (0)