Skip to content

Conversation

hcvdwerf
Copy link
Collaborator

No description provided.

Hans-christian and others added 19 commits August 27, 2025 22:26
This was to fixed failures caused by the new version of the croissant
package (introduced by mlcommons/croissant#932),
but it seems like a good thing to do anyway.

Sadly this means that the output generated from rdflib changes, from
this:

```
"description": "Test description"
```

to this:

```
"description": {
    "@value": "Test description"
}
```

While this is a bit less human readable is perfectly valid JSON-LD, and
it will probably align better with multilingual metadata.
The combination of two url rules pointing to the same view function plus
using `url_defaults` in the blueprint made that Flask always redirected
to one "canonical" URL (the first one defined). Defining different
endpoints for each rule solves the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants