udata 10.0.2.dev32505__py2.py3-none-any.whl → 10.0.2.dev32533__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/core/dataservices/rdf.py +8 -2
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/METADATA +2 -1
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/RECORD +7 -7
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/LICENSE +0 -0
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/WHEEL +0 -0
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/entry_points.txt +0 -0
- {udata-10.0.2.dev32505.dist-info → udata-10.0.2.dev32533.dist-info}/top_level.txt +0 -0
udata/core/dataservices/rdf.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from flask import current_app
|
|
1
2
|
from rdflib import RDF, BNode, Graph, Literal, URIRef
|
|
2
3
|
|
|
3
4
|
from udata.core.dataservices.models import Dataservice
|
|
@@ -145,8 +146,13 @@ def dataservice_to_rdf(dataservice: Dataservice, graph=None):
|
|
|
145
146
|
# with some basic information about this dataset (but this will return a page
|
|
146
147
|
# with more datasets than the page size… and could be problematic when processing the
|
|
147
148
|
# correct Node with all the information in a future page)
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
if str(dataservice.id) == current_app.config["TABULAR_API_DATASERVICE_ID"]:
|
|
150
|
+
# TODO: remove this condition on TABULAR_API_DATASERVICE_ID.
|
|
151
|
+
# It is made to prevent having the graph explode due to too many datasets being served.
|
|
152
|
+
pass
|
|
153
|
+
else:
|
|
154
|
+
for dataset in dataservice.datasets:
|
|
155
|
+
d.add(DCAT.servesDataset, dataset_to_graph_id(dataset))
|
|
150
156
|
|
|
151
157
|
contact_point = contact_point_to_rdf(dataservice.contact_point, graph)
|
|
152
158
|
if contact_point:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: udata
|
|
3
|
-
Version: 10.0.2.
|
|
3
|
+
Version: 10.0.2.dev32533
|
|
4
4
|
Summary: Open data portal
|
|
5
5
|
Home-page: https://github.com/opendatateam/udata
|
|
6
6
|
Author: Opendata Team
|
|
@@ -142,6 +142,7 @@ It is collectively taken care of by members of the
|
|
|
142
142
|
|
|
143
143
|
- Use correct DCAT.service predicate in RDF output [#3199](https://github.com/opendatateam/udata/pull/3199)
|
|
144
144
|
- Fix the Badge.badge_label method [#3198](https://github.com/opendatateam/udata/pull/3198)
|
|
145
|
+
- Skip servesDataset for tabular API dataservice (temporary fix) [#3196](https://github.com/opendatateam/udata/pull/3196)
|
|
145
146
|
|
|
146
147
|
## 10.0.1 (2024-11-15)
|
|
147
148
|
|
|
@@ -85,7 +85,7 @@ udata/core/dataservices/apiv2.py,sha256=XIqJq58uLtxtt52iKYo7Fl0ZXv9Sz72uA7JIGwP8
|
|
|
85
85
|
udata/core/dataservices/factories.py,sha256=LDk8vvG0zhW8J-ZX5LoJQDU13pqeIyjQ05muuMro_eA,876
|
|
86
86
|
udata/core/dataservices/models.py,sha256=8XhhlhGzIr8S3n7yVbqo4Z8b_cieUKUwNNp4-dSbbqs,8542
|
|
87
87
|
udata/core/dataservices/permissions.py,sha256=98zM_R4v2ZtRubflB7ajaVQz-DVc-pZBMgtKUYy34oI,169
|
|
88
|
-
udata/core/dataservices/rdf.py,sha256=
|
|
88
|
+
udata/core/dataservices/rdf.py,sha256=EOeVA8JayhFLs2heklJVu-qDRjqVnF0UyCTsBzNX9eY,5734
|
|
89
89
|
udata/core/dataservices/search.py,sha256=htjh3sq3tDuD2qwgRgZsW6ClrHLF6hMwYO4nfBO0Hr4,4171
|
|
90
90
|
udata/core/dataservices/tasks.py,sha256=a43x1oKNF-EYmzM3O-8GQPJvZsgJmQiXOZx8Qti3M4E,960
|
|
91
91
|
udata/core/dataset/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -705,9 +705,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=nGPoTSbeRlpCQGuxoJ7Oa650flpeeh
|
|
|
705
705
|
udata/translations/pt/LC_MESSAGES/udata.po,sha256=f-tilnngNNBEIQdXmm3GbdaLlvbwG9YLLwhqyRD5Lh4,44871
|
|
706
706
|
udata/translations/sr/LC_MESSAGES/udata.mo,sha256=8RL_aEe-0QJdgY-TNMy7bS4z8X9IOK8-C076dxcp3As,28163
|
|
707
707
|
udata/translations/sr/LC_MESSAGES/udata.po,sha256=Cp0bKPeIbuAqvFeoey_9ItQbAHIeiFZPnZLa6A6JNbI,51363
|
|
708
|
-
udata-10.0.2.
|
|
709
|
-
udata-10.0.2.
|
|
710
|
-
udata-10.0.2.
|
|
711
|
-
udata-10.0.2.
|
|
712
|
-
udata-10.0.2.
|
|
713
|
-
udata-10.0.2.
|
|
708
|
+
udata-10.0.2.dev32533.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
|
|
709
|
+
udata-10.0.2.dev32533.dist-info/METADATA,sha256=3BfIPzjuh3EwsoEbrCmqNjpNzKNgHtRFEA1M2e1D0h4,134980
|
|
710
|
+
udata-10.0.2.dev32533.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
711
|
+
udata-10.0.2.dev32533.dist-info/entry_points.txt,sha256=3SKiqVy4HUqxf6iWspgMqH8d88Htk6KoLbG1BU-UddQ,451
|
|
712
|
+
udata-10.0.2.dev32533.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
|
|
713
|
+
udata-10.0.2.dev32533.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|