udata 10.1.4.dev34419__py2.py3-none-any.whl → 10.1.4.dev34435__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of udata might be problematic. Click here for more details.
- udata/rdf.py +6 -1
- udata/static/chunks/{10.8ca60413647062717b1e.js → 10.471164b2a9fe15614797.js} +3 -3
- udata/static/chunks/{10.8ca60413647062717b1e.js.map → 10.471164b2a9fe15614797.js.map} +1 -1
- udata/static/chunks/{11.b6f741fcc366abfad9c4.js → 11.51d706fb9521c16976bc.js} +3 -3
- udata/static/chunks/{11.b6f741fcc366abfad9c4.js.map → 11.51d706fb9521c16976bc.js.map} +1 -1
- udata/static/chunks/{13.2d06442dd9a05d9777b5.js → 13.f29411b06be1883356a3.js} +2 -2
- udata/static/chunks/{13.2d06442dd9a05d9777b5.js.map → 13.f29411b06be1883356a3.js.map} +1 -1
- udata/static/chunks/{17.e8e4caaad5cb0cc0bacc.js → 17.3bd0340930d4a314ce9c.js} +2 -2
- udata/static/chunks/{17.e8e4caaad5cb0cc0bacc.js.map → 17.3bd0340930d4a314ce9c.js.map} +1 -1
- udata/static/chunks/{19.f03a102365af4315f9db.js → 19.8da42e8359d72afc2618.js} +3 -3
- udata/static/chunks/{19.f03a102365af4315f9db.js.map → 19.8da42e8359d72afc2618.js.map} +1 -1
- udata/static/chunks/{8.778091d55cd8ea39af6b.js → 8.54e44b102164ae5e7a67.js} +2 -2
- udata/static/chunks/{8.778091d55cd8ea39af6b.js.map → 8.54e44b102164ae5e7a67.js.map} +1 -1
- udata/static/chunks/{9.033d7e190ca9e226a5d0.js → 9.07515e5187f475bce828.js} +3 -3
- udata/static/chunks/{9.033d7e190ca9e226a5d0.js.map → 9.07515e5187f475bce828.js.map} +1 -1
- udata/static/common.js +1 -1
- udata/static/common.js.map +1 -1
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/METADATA +2 -1
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/RECORD +23 -23
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/LICENSE +0 -0
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/WHEEL +0 -0
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/entry_points.txt +0 -0
- {udata-10.1.4.dev34419.dist-info → udata-10.1.4.dev34435.dist-info}/top_level.txt +0 -0
udata/rdf.py
CHANGED
|
@@ -312,7 +312,12 @@ def themes_from_rdf(rdf):
|
|
|
312
312
|
def contact_points_from_rdf(rdf, prop, role, dataset):
|
|
313
313
|
for contact_point in rdf.objects(prop):
|
|
314
314
|
# Read contact point information
|
|
315
|
-
if
|
|
315
|
+
if isinstance(contact_point, Literal):
|
|
316
|
+
log.warning(f"Found a `Literal` inside {prop}, `foaf:Agent` or `vcard:Kind` expected.")
|
|
317
|
+
name = contact_point.toPython()
|
|
318
|
+
email = None
|
|
319
|
+
contact_form = None
|
|
320
|
+
elif prop == DCAT.contactPoint: # Could be split on the type of contact_point instead
|
|
316
321
|
name = rdf_value(contact_point, VCARD.fn) or ""
|
|
317
322
|
email = (
|
|
318
323
|
rdf_value(contact_point, VCARD.hasEmail)
|