-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harvest dct:conformsTo for Dataset and Resource #2949
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I've made a first batch of review, but this seems promising!
Don't forget the changelog entry ;)
e09c712
to
1cd555d
Compare
1cd555d
to
54a36c2
Compare
…to have both values
3340382
to
0f863a0
Compare
25e130e
to
966abbd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR, it was a bit of spaghetti 🍝 to get it right!
We may improve on schema/conformsTo logic with usage later on :)
|
||
# Putting `None` as the schema argument do not remove the schema | ||
# Not sure if it's the correct behaviour but it's the normal behaviour on the API v1… :-( | ||
# I think it should be if the key 'schema' is missing, the old value is kept, if the key is present |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the behavior is not totally intuitive, but let's keep it as is in this PR for now.
Closes datagouv/data.gouv.fr#1023