prez
prez copied to clipboard
Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
For `http://www.opengis.net/spec/ogcapi-features-1/1.0/` Prez generates the following friendly URL: `http://defs-dev.opengis.net/prez/v/vocab/gcp-ftrs-1:1.0` This triggers the following exception: ``` Traceback (most recent call last): File "/app/.venv/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__ response = await self.dispatch_func(request,...
- add type hints - object endpoint missing x - sparql endpoint missing x
https://rdframe.sgraljii8d3km.ap-southeast-2.cs.amazonlightsail.com
I see  when I only have VocPrez, so this is confusing and doesn't work. Need to turn it off unless SpacePrez is enabled.
The below text originally taken from comment in https://github.com/RDFLib/prez/pull/168#pullrequestreview-1714228261. --- I think the PR is fine for now as it addresses the immediate issues with the way we run tests....
as appropriate
- Have a prefixes file that Prez will use on startup to use to generate links - Have a HTML admin endpoint that lists prefixes in the system
Black - https://pypi.org/project/black/ - Check that the codebase has black formatting applied. Ruff - https://pypi.org/project/ruff/ - Check that the codebase has ruff imports formatting applied.