Skip to content

Commit

Permalink
adding dict to response type
Browse files Browse the repository at this point in the history
  • Loading branch information
dcurrey88 committed Sep 28, 2021
1 parent 1fa936f commit 5f56aa6
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions LAMP/api/activity_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str,dict),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -727,7 +727,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
4 changes: 2 additions & 2 deletions LAMP/api/activity_event_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -688,7 +688,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
8 changes: 4 additions & 4 deletions LAMP/api/activity_spec_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -345,7 +345,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -467,7 +467,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -593,7 +593,7 @@ def __view(

self.view = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
4 changes: 2 additions & 2 deletions LAMP/api/participant_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -725,7 +725,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
6 changes: 3 additions & 3 deletions LAMP/api/researcher_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -345,7 +345,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -468,7 +468,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
6 changes: 3 additions & 3 deletions LAMP/api/sensor_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -727,7 +727,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -849,7 +849,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
4 changes: 2 additions & 2 deletions LAMP/api/sensor_event_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -687,7 +687,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
6 changes: 3 additions & 3 deletions LAMP/api/sensor_spec_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -345,7 +345,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -467,7 +467,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down
6 changes: 3 additions & 3 deletions LAMP/api/study_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def __create(

self.create = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -479,7 +479,7 @@ def __delete(

self.delete = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down Expand Up @@ -601,7 +601,7 @@ def __update(

self.update = Endpoint(
settings={
'response_type': (str,),
'response_type': (str, dict,),
'auth': [
'Authorization'
],
Expand Down

0 comments on commit 5f56aa6

Please sign in to comment.