Move schemas between compute and controller subpackages

This commit is contained in:
grossmj
2021-04-15 18:12:08 +09:30
parent c59fc375f2
commit 9c850e0f2b
57 changed files with 332 additions and 214 deletions

View File

@ -108,7 +108,7 @@ async def dep_node(node_id: UUID, project: Project = Depends(dep_project)):
409: {"model": schemas.ErrorMessage, "description": "Could not create node"},
},
)
async def create_node(node_data: schemas.Node, project: Project = Depends(dep_project)):
async def create_node(node_data: schemas.NodeCreate, project: Project = Depends(dep_project)):
"""
Create a new node.
"""