Workspace now response to .members
This commit is contained in:
@@ -69,52 +69,3 @@ class Workspaces(object):
|
||||
)
|
||||
db.session.add(workspace_role)
|
||||
return workspace_role
|
||||
|
||||
|
||||
class Members(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def create(cls, creator_id, body):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def get(cls, request_id):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def get_many(cls, workspace_id):
|
||||
return [
|
||||
{
|
||||
"first_name": "Danny",
|
||||
"last_name": "Knight",
|
||||
"email": "dknight@thenavy.mil",
|
||||
"dod_id": "1257892124",
|
||||
"workspace_role": "Developer",
|
||||
"status": "Pending",
|
||||
"num_projects": "4",
|
||||
},
|
||||
{
|
||||
"first_name": "Mario",
|
||||
"last_name": "Hudson",
|
||||
"email": "mhudson@thearmy.mil",
|
||||
"dod_id": "4357892125",
|
||||
"workspace_role": "CCPO",
|
||||
"status": "Active",
|
||||
"num_projects": "0",
|
||||
},
|
||||
{
|
||||
"first_name": "Louise",
|
||||
"last_name": "Greer",
|
||||
"email": "lgreer@theairforce.mil",
|
||||
"dod_id": "7257892125",
|
||||
"workspace_role": "Admin",
|
||||
"status": "Pending",
|
||||
"num_projects": "43",
|
||||
},
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def update(cls, request_id, request_delta):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user