udata 8.0.1.dev29111__py2.py3-none-any.whl → 8.0.1.dev29160__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/spatial/api.py +4 -4
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/METADATA +2 -1
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/RECORD +7 -7
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/LICENSE +0 -0
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/WHEEL +0 -0
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/entry_points.txt +0 -0
- {udata-8.0.1.dev29111.dist-info → udata-8.0.1.dev29160.dist-info}/top_level.txt +0 -0
udata/core/spatial/api.py
CHANGED
|
@@ -85,7 +85,7 @@ dataset_parser.add_argument(
|
|
|
85
85
|
location='args', default=25)
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
@ns.route('/zones/<
|
|
88
|
+
@ns.route('/zones/<list:ids>/', endpoint='zones')
|
|
89
89
|
class ZonesAPI(API):
|
|
90
90
|
@api.doc('spatial_zones',
|
|
91
91
|
params={'ids': 'A zone identifiers list (comma separated)'})
|
|
@@ -101,7 +101,7 @@ class ZonesAPI(API):
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
@ns.route('/zone/<
|
|
104
|
+
@ns.route('/zone/<id>/datasets/', endpoint='zone_datasets')
|
|
105
105
|
class ZoneDatasetsAPI(API):
|
|
106
106
|
@api.doc('spatial_zone_datasets', params={'id': 'A zone identifier'})
|
|
107
107
|
@api.expect(dataset_parser)
|
|
@@ -118,7 +118,7 @@ class ZoneDatasetsAPI(API):
|
|
|
118
118
|
return datasets
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
@ns.route('/zone/<
|
|
121
|
+
@ns.route('/zone/<id>/', endpoint='zone')
|
|
122
122
|
class ZoneAPI(API):
|
|
123
123
|
@api.doc('spatial_zone', params={'id': 'A zone identifier'})
|
|
124
124
|
def get(self, id):
|
|
@@ -152,7 +152,7 @@ class SpatialGranularitiesAPI(API):
|
|
|
152
152
|
} for id, name in spatial_granularities]
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
@ns.route('/coverage/<
|
|
155
|
+
@ns.route('/coverage/<level>/', endpoint='spatial_coverage')
|
|
156
156
|
class SpatialCoverageAPI(API):
|
|
157
157
|
@api.doc('spatial_coverage')
|
|
158
158
|
@api.marshal_list_with(feature_collection_fields)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: udata
|
|
3
|
-
Version: 8.0.1.
|
|
3
|
+
Version: 8.0.1.dev29160
|
|
4
4
|
Summary: Open data portal
|
|
5
5
|
Home-page: https://github.com/opendatateam/udata
|
|
6
6
|
Author: Opendata Team
|
|
@@ -146,6 +146,7 @@ It is collectively taken care of by members of the
|
|
|
146
146
|
- Add `email` to membership request list API response, add `since` to org members API responses, add `email` to members of org on show org endpoint for org's admins and editors [#3038](https://github.com/opendatateam/udata/pull/3038)
|
|
147
147
|
- Add `resources_downloads` to datasets metrics [#3042](https://github.com/opendatateam/udata/pull/3042)
|
|
148
148
|
- Fix do not override resources extras on admin during update [#3043](https://github.com/opendatateam/udata/pull/3043)
|
|
149
|
+
- Fix trailing `/` inside `GeoZone` routes not redirecting. Disallow `/` inside `GeoZone` ids [#3045](https://github.com/opendatateam/udata/pull/3045)
|
|
149
150
|
|
|
150
151
|
## 8.0.0 (2024-04-23)
|
|
151
152
|
|
|
@@ -187,7 +187,7 @@ udata/core/spam/signals.py,sha256=4VVLyC2I39LFAot4P56nHzY0xumjMBDz_N0Ff_kgBd0,15
|
|
|
187
187
|
udata/core/spam/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
188
188
|
udata/core/spam/tests/test_spam.py,sha256=W1Ck_rsnURhFi0fy5xOO0CPpW9MuUFbr-NmPZdk5R4Q,676
|
|
189
189
|
udata/core/spatial/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
190
|
-
udata/core/spatial/api.py,sha256=
|
|
190
|
+
udata/core/spatial/api.py,sha256=D9ffPizTWXCsSU88gyyyOaSWYmQp2xq8dk5_lQq5J2g,5647
|
|
191
191
|
udata/core/spatial/api_fields.py,sha256=ymGK3FyE2KNlASOU5GiPgZGeBjjOqnOyCOcRCbuw3D8,2629
|
|
192
192
|
udata/core/spatial/commands.py,sha256=qdJ4mUg3NUTrGx6L5MKPh1usvxmeCn8xMCZNGKyjWYE,6914
|
|
193
193
|
udata/core/spatial/constants.py,sha256=u_4OwAAVYqT0VX6nw_Hc4wIRUPcYww19EFJcnWuMZNo,146
|
|
@@ -681,9 +681,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=uttB2K8VsqzkEQG-5HfTtFms_3LtV9
|
|
|
681
681
|
udata/translations/pt/LC_MESSAGES/udata.po,sha256=8Ql1Lp7Z9KLnvp-qRxw-NhFu1p35Xj-q6Jg9JHsYhcw,43733
|
|
682
682
|
udata/translations/sr/LC_MESSAGES/udata.mo,sha256=US8beNIMPxP5h-zD_jfP1TheDDd4DdRVS5UIiY5XVZ8,28553
|
|
683
683
|
udata/translations/sr/LC_MESSAGES/udata.po,sha256=TM0yMDvKRljyOzgZZMlTX6OfpF6OC4Ngf_9Zc8n6ayA,50313
|
|
684
|
-
udata-8.0.1.
|
|
685
|
-
udata-8.0.1.
|
|
686
|
-
udata-8.0.1.
|
|
687
|
-
udata-8.0.1.
|
|
688
|
-
udata-8.0.1.
|
|
689
|
-
udata-8.0.1.
|
|
684
|
+
udata-8.0.1.dev29160.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
|
|
685
|
+
udata-8.0.1.dev29160.dist-info/METADATA,sha256=vf4hVorPo2ccjea19665qGNNzN83PgSkEXYoWhRbX8Q,123305
|
|
686
|
+
udata-8.0.1.dev29160.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
687
|
+
udata-8.0.1.dev29160.dist-info/entry_points.txt,sha256=3SKiqVy4HUqxf6iWspgMqH8d88Htk6KoLbG1BU-UddQ,451
|
|
688
|
+
udata-8.0.1.dev29160.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
|
|
689
|
+
udata-8.0.1.dev29160.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|