d | r | b | m | property | type | ref | level | access
example | | | |
| | | Country | | id | 4 |
| | | | id | integer | | 4 | protected
| | | | name | string | | 4 | open
| | | City | | id | 4 |
| | | | id | integer | | 4 | protected
| | | | name | string | | 4 | open
| | | | country | ref | Country | 4 | open
When I run:
http GET /example/:all?format(rdf)
I get following error:
HTTP/1.1 500 Internal Server Error
{
"errors": [
{
"code": "NotImplementedError",
"message": "Could not find signature for render: <Context, Request, Namespace, Rdf>"
}
]
}
Traceback (most recent call last):
File "spinta/api.py", line 269, in homepage
return await create_http_response(context, params, request)
File "spinta/utils/response.py", line 166, in create_http_response
return await commands.getall(
File "spinta/types/namespace.py", line 198, in getall
return render(context, request, ns, params, rows, action=action)
File "spinta/renderer.py", line 23, in render
return commands.render(
File "multipledispatch/dispatcher.py", line 273, in __call__
raise NotImplementedError(
NotImplementedError: Could not find signature for render: <Context, Request, Namespace, Rdf>
/:all parameter runs through all models recursively and returns all data in a requested format.
I have a following manifest:
When I run:
I get following error:
/:all
parameter runs through all models recursively and returns all data in a requested format.Related