udata 10.5.1.dev36004__py2.py3-none-any.whl → 10.5.1.dev36025__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/harvest/api.py +20 -12
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/METADATA +2 -1
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/RECORD +7 -7
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/LICENSE +0 -0
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/WHEEL +0 -0
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/entry_points.txt +0 -0
- {udata-10.5.1.dev36004.dist-info → udata-10.5.1.dev36025.dist-info}/top_level.txt +0 -0
udata/harvest/api.py
CHANGED
|
@@ -62,7 +62,7 @@ item_fields = api.model(
|
|
|
62
62
|
dataset_ref_fields, description="The processed dataset", allow_null=True
|
|
63
63
|
),
|
|
64
64
|
"dataservice": fields.Nested(
|
|
65
|
-
Dataservice.
|
|
65
|
+
Dataservice.__ref_fields__, description="The processed dataservice", allow_null=True
|
|
66
66
|
),
|
|
67
67
|
"status": fields.String(
|
|
68
68
|
description="The item status", required=True, enum=list(HARVEST_ITEM_STATUS)
|
|
@@ -208,21 +208,26 @@ backend_fields = api.model(
|
|
|
208
208
|
},
|
|
209
209
|
)
|
|
210
210
|
|
|
211
|
+
preview_dataservice_fields = api.clone(
|
|
212
|
+
"DataservicePreview",
|
|
213
|
+
Dataservice.__ref_fields__,
|
|
214
|
+
{
|
|
215
|
+
"self_web_url": fields.Raw(
|
|
216
|
+
attribute=lambda _d: None, description="The dataservice webpage URL (fake)"
|
|
217
|
+
),
|
|
218
|
+
"self_api_url": fields.Raw(
|
|
219
|
+
attribute=lambda _d: None, description="The dataservice API URL (fake)"
|
|
220
|
+
),
|
|
221
|
+
},
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
|
|
211
225
|
preview_dataset_fields = api.clone(
|
|
212
226
|
"DatasetPreview",
|
|
213
227
|
dataset_fields,
|
|
214
228
|
{
|
|
215
|
-
"uri": fields.
|
|
216
|
-
|
|
217
|
-
lambda o: {"dataset": "not-available"},
|
|
218
|
-
description="The dataset API URI (fake)",
|
|
219
|
-
),
|
|
220
|
-
"page": fields.UrlFor(
|
|
221
|
-
"datasets.show",
|
|
222
|
-
lambda o: {"dataset": "not-available"},
|
|
223
|
-
description="The dataset page URL (fake)",
|
|
224
|
-
fallback_endpoint="api.dataset",
|
|
225
|
-
),
|
|
229
|
+
"uri": fields.Raw(attribute=lambda _d: None, description="The dataset API URL (fake)"),
|
|
230
|
+
"page": fields.Raw(attribute=lambda _d: None, description="The dataset page URL (fake)"),
|
|
226
231
|
},
|
|
227
232
|
)
|
|
228
233
|
|
|
@@ -233,6 +238,9 @@ preview_item_fields = api.clone(
|
|
|
233
238
|
"dataset": fields.Nested(
|
|
234
239
|
preview_dataset_fields, description="The processed dataset", allow_null=True
|
|
235
240
|
),
|
|
241
|
+
"dataservice": fields.Nested(
|
|
242
|
+
preview_dataservice_fields, description="The processed dataset", allow_null=True
|
|
243
|
+
),
|
|
236
244
|
},
|
|
237
245
|
)
|
|
238
246
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: udata
|
|
3
|
-
Version: 10.5.1.
|
|
3
|
+
Version: 10.5.1.dev36025
|
|
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
|
## Current (in progress)
|
|
144
144
|
|
|
145
|
+
- Fix failing to return dataservice in harvest preview because of no ID for URL [#3357](https://github.com/opendatateam/udata/pull/3357/)
|
|
145
146
|
- Fix invalid resource format from harvested RDF records [#3354](https://github.com/opendatateam/udata/pull/3354)
|
|
146
147
|
- Expose `dataset_id` for CommunityResource in /dataset/resource/id [#3258](https://github.com/opendatateam/udata/pull/3258)
|
|
147
148
|
- Add a CI job to create a release on Sentry [#3266](https://github.com/opendatateam/udata/pull/3266)
|
|
@@ -284,7 +284,7 @@ udata/frontend/__init__.py,sha256=Aa5BX19jTAcjGiGKszPabbOju5thvA7XFz4aYvxwXQw,35
|
|
|
284
284
|
udata/frontend/markdown.py,sha256=5kNMVOMLlGvJfpIVONaQv4JT1pi6qWNcnb_BVV_VNJQ,4324
|
|
285
285
|
udata/harvest/__init__.py,sha256=C4y5w4vGb_F9Opy62lzV3eHo4DkNyRgPCq-wsarPXiQ,28
|
|
286
286
|
udata/harvest/actions.py,sha256=oqPc-nIRXsWjvSMFkTVFXW_f9XkYa6JlKWYEBsJYt9k,9812
|
|
287
|
-
udata/harvest/api.py,sha256=
|
|
287
|
+
udata/harvest/api.py,sha256=9PUUM4SEt2m6cnNeTEzNKqm_UnT52E3_efAgSd5TaCo,16873
|
|
288
288
|
udata/harvest/commands.py,sha256=7dSYjphW8sxyZRef-ixJEsQc36bPIVKMN_wt4IRcKUY,4766
|
|
289
289
|
udata/harvest/csv.py,sha256=TcHWJLiEbK8ouwGGYZy9US4nMxfWk1Ydw8sMlPit1tk,392
|
|
290
290
|
udata/harvest/exceptions.py,sha256=-sTbXece_YQstXlnpSZX5EJGTONYZ4J2RgByG0WlqAI,302
|
|
@@ -731,9 +731,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=9sCd1MUKvtVP_sOXvK-G5v4PfWkkdA
|
|
|
731
731
|
udata/translations/pt/LC_MESSAGES/udata.po,sha256=-eJptz9s63rjkdm-3HJi_2t70pyv3-8EuXBn-B2qI_4,48419
|
|
732
732
|
udata/translations/sr/LC_MESSAGES/udata.mo,sha256=qduXntHWe__KaUxJ4JwwyGG3eSgYb1auGdNax0lS49c,29169
|
|
733
733
|
udata/translations/sr/LC_MESSAGES/udata.po,sha256=6QCuLMCRjgyAvu9U7i0P19ae8fm_uStfmxHLqUO9EoY,55394
|
|
734
|
-
udata-10.5.1.
|
|
735
|
-
udata-10.5.1.
|
|
736
|
-
udata-10.5.1.
|
|
737
|
-
udata-10.5.1.
|
|
738
|
-
udata-10.5.1.
|
|
739
|
-
udata-10.5.1.
|
|
734
|
+
udata-10.5.1.dev36025.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
|
|
735
|
+
udata-10.5.1.dev36025.dist-info/METADATA,sha256=237ROhTbnqYWcMMFPeEtkwsOS0zwENbwJOd7U8UDaO8,149464
|
|
736
|
+
udata-10.5.1.dev36025.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
|
737
|
+
udata-10.5.1.dev36025.dist-info/entry_points.txt,sha256=ETvkR4r6G1duBsh_V_fGWENQy17GTFuobi95MYBAl1A,498
|
|
738
|
+
udata-10.5.1.dev36025.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
|
|
739
|
+
udata-10.5.1.dev36025.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|