thisAKcode/fastapi_streetart_map

create endpoint issue

Closed this issue · 0 comments

Might be related to this issue: #29

Commenting the following:

@router.post('/create')#, response_model = ItemSchema)

And trying out the create endpoint with int 1 I get:

  File "/Users/bbelderbos/code/PDM/projects/alex/fastapi_streetart_map/app/./router.py", line 24, in create
    crud.create_art_item(db, dataset_id, art_item = request.parameter)
AttributeError: 'Request' object has no attribute 'parameter'