eodag 3.3.0__py3-none-any.whl → 3.3.1__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.
eodag/rest/errors.py CHANGED
@@ -31,6 +31,7 @@ from eodag.utils.exceptions import (
31
31
  MisconfiguredError,
32
32
  NoMatchingProductType,
33
33
  NotAvailableError,
34
+ PluginImplementationError,
34
35
  RequestError,
35
36
  TimeOutError,
36
37
  UnsupportedProductType,
@@ -42,6 +43,7 @@ EODAG_DEFAULT_STATUS_CODES = {
42
43
  AuthenticationError: status.HTTP_500_INTERNAL_SERVER_ERROR,
43
44
  DownloadError: status.HTTP_500_INTERNAL_SERVER_ERROR,
44
45
  MisconfiguredError: status.HTTP_500_INTERNAL_SERVER_ERROR,
46
+ PluginImplementationError: status.HTTP_500_INTERNAL_SERVER_ERROR,
45
47
  NotAvailableError: status.HTTP_404_NOT_FOUND,
46
48
  NoMatchingProductType: status.HTTP_404_NOT_FOUND,
47
49
  TimeOutError: status.HTTP_504_GATEWAY_TIMEOUT,
@@ -80,7 +82,11 @@ class ResponseSearchError(Exception):
80
82
  type(exception), getattr(exception, "status_code", 500)
81
83
  )
82
84
 
83
- if type(exception) in (MisconfiguredError, AuthenticationError):
85
+ if type(exception) in (
86
+ MisconfiguredError,
87
+ AuthenticationError,
88
+ PluginImplementationError,
89
+ ):
84
90
  logger.error("%s: %s", type(exception).__name__, str(exception))
85
91
  error_dict[
86
92
  "message"
@@ -132,10 +138,19 @@ async def eodag_errors_handler(request: Request, exc: Exception) -> ORJSONRespon
132
138
 
133
139
  detail = f"{type(exc).__name__}: {str(exc)}"
134
140
 
135
- if type(exc) in (MisconfiguredError, AuthenticationError, TimeOutError):
141
+ if type(exc) in (
142
+ MisconfiguredError,
143
+ AuthenticationError,
144
+ TimeOutError,
145
+ PluginImplementationError,
146
+ ):
136
147
  logger.error("%s: %s", type(exc).__name__, str(exc))
137
148
 
138
- if type(exc) in (MisconfiguredError, AuthenticationError):
149
+ if type(exc) in (
150
+ MisconfiguredError,
151
+ AuthenticationError,
152
+ PluginImplementationError,
153
+ ):
139
154
  detail = "Internal server error: please contact the administrator"
140
155
 
141
156
  if type(exc) is ValidationError:
eodag/types/queryables.py CHANGED
@@ -146,6 +146,9 @@ class Queryables(CommonQueryables):
146
146
  maximumIncidenceAngle: Annotated[float, Field(None)]
147
147
  dopplerFrequency: Annotated[float, Field(None)]
148
148
  incidenceAngleVariation: Annotated[float, Field(None)]
149
+ # Custom parameters (not defined in the base document referenced above)
150
+ id: Annotated[str, Field(None)]
151
+ tileIdentifier: Annotated[str, Field(None, pattern=r"[0-9]{2}[A-Z]{3}")]
149
152
 
150
153
 
151
154
  class QueryablesDict(UserDict[str, Any]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eodag
3
- Version: 3.3.0
3
+ Version: 3.3.1
4
4
  Summary: Earth Observation Data Access Gateway
5
5
  Home-page: https://github.com/CS-SI/eodag
6
6
  Author: CS GROUP - France
@@ -317,7 +317,7 @@ An eodag instance can be exposed through a STAC compliant REST api from the comm
317
317
 
318
318
  .. code-block:: bash
319
319
 
320
- docker run -p 5000:5000 --rm csspace/eodag-server:3.3.0
320
+ docker run -p 5000:5000 --rm csspace/eodag-server:3.3.1
321
321
 
322
322
  You can also browse over your STAC API server using `STAC Browser <https://github.com/radiantearth/stac-browser>`_.
323
323
  Simply run:
@@ -1,11 +1,11 @@
1
1
  eodag/__init__.py,sha256=qADIO6H3KR0CMs0qePdJROjSzcGnHaYpv-RFIk18WGQ,1608
2
2
  eodag/cli.py,sha256=63QvLzyZEf6dsTB1jK_80lOTtp6fbjoSJROqKIL-mR4,29959
3
- eodag/config.py,sha256=W2cKC2Br00Nh8-_-LHWF4gpcjhQpj51w0my7f1niI60,45980
3
+ eodag/config.py,sha256=QrfEB7yhBB3wdAVaUwiwCoOWX3FwW5GN-RFzj4DNRpw,46092
4
4
  eodag/crunch.py,sha256=fLVAPGVPw31N_DrnFk4gkCpQZLMY8oBhK6NUSYmdr24,1099
5
5
  eodag/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  eodag/api/__init__.py,sha256=ytr30NUVmEtmJTsp3QCwkCIhS1nF6UlFCv0vmySHN7g,735
7
7
  eodag/api/core.py,sha256=L0xuyoxnbbu3ZdvGcO5Yj6q8-ezzkX35kZ3wJkdupkw,109502
8
- eodag/api/search_result.py,sha256=Qj3-2ru7lo3VHQZ9SMMRxykVU5PtEbW_dkgMp1HEe8U,8164
8
+ eodag/api/search_result.py,sha256=yv4s0JfYdpRiTGIQRSewFhQahO40vz_2N4dGh-CXA10,8198
9
9
  eodag/api/product/__init__.py,sha256=klSKudmnHHeXvcwIX6Y30UTiP39tMfTwLNexSnAZnx0,1154
10
10
  eodag/api/product/_assets.py,sha256=9bWIe_SYvsQO-q_lQFd7SxhUIWv7feze2-wnXOe8hhs,7570
11
11
  eodag/api/product/_product.py,sha256=1Jz-oPg65Njc7DOWw4ADT9QmNXReiD1LeXFDosnXsOA,23458
@@ -32,7 +32,7 @@ eodag/plugins/authentication/oauth.py,sha256=fCMx7OxS3JNO9lLZhQNnL9lsBB9nFwZJLEY
32
32
  eodag/plugins/authentication/openid_connect.py,sha256=LbpQzekxin_bLrKfk7bzU3LGxlfaABSm1fwx7S1O58M,24913
33
33
  eodag/plugins/authentication/qsauth.py,sha256=bkepO_sFRIhYm3Dzecx3VJP0Ap37vUuJSRmEY8HrV1U,3947
34
34
  eodag/plugins/authentication/sas_auth.py,sha256=gZp5UDeAi6iEi-IXv_RjrmAVpQCD5s9A0b3V7HV6KnU,4773
35
- eodag/plugins/authentication/token.py,sha256=1aQ_R1PMo47VUU93AQiC0oV5Dh5-xsMhDwP1ilgmZCQ,13645
35
+ eodag/plugins/authentication/token.py,sha256=Xjx2fRqxHORY4UdzpSAzra8T2EnKyK1R2LGSDAYsioE,15272
36
36
  eodag/plugins/authentication/token_exchange.py,sha256=m0KHc4KOhlw0YYXCWEAwB7n7cJLScq3pXa6M6fiXNAQ,4902
37
37
  eodag/plugins/crunch/__init__.py,sha256=58D7kJhEpHJWobIKaNFPynfbSqAWgS90BiHzitqS5Ds,746
38
38
  eodag/plugins/crunch/base.py,sha256=XW4HISgR0UswiEZmE4t42HxnSxknZBtVpuK8XVLYHzU,1415
@@ -48,16 +48,16 @@ eodag/plugins/download/creodias_s3.py,sha256=RoEhYHtsPDbfrZhBllYoek0r7YzP8Upf5CP
48
48
  eodag/plugins/download/http.py,sha256=Rg6NOcxKHSoDOzqi_nY9rzb_pJ-RrnVuevs4AqsS5uw,58110
49
49
  eodag/plugins/download/s3rest.py,sha256=BYkKglGhTVyR0A-8ls5gLhWOPwc_DgB4aydj79wpqoM,14825
50
50
  eodag/plugins/search/__init__.py,sha256=bBrl3TffoU1wVpaeXmTEIailoh9W6fla4IP-8SWqA9U,2019
51
- eodag/plugins/search/base.py,sha256=b9zAPLQITBSOJ9n5zBxtiHlPkQwACjjJkD894oYZ7L8,18555
51
+ eodag/plugins/search/base.py,sha256=nuCcxTH_ZU38x-0jd52dKCJ3HGKiaXmCVCMfZ1iVH6k,18602
52
52
  eodag/plugins/search/build_search_result.py,sha256=ZWd87uPrbzAZTfSUA9-OMvBbsaZtJ0fAADzrojp-3FI,56808
53
53
  eodag/plugins/search/cop_marine.py,sha256=pRWNY9MXY-XzlpQjqOI8ImOiNUehv9pwNl6oR9r171w,19720
54
54
  eodag/plugins/search/creodias_s3.py,sha256=rBZf3Uza7z3VuBdoUJQ9kuufGgACKVsEvK3phUo7C7M,3379
55
55
  eodag/plugins/search/csw.py,sha256=de8CNjz4bjEny27V0RXC7V8LRz0Ik3yqQVjTAc_JlyA,12548
56
56
  eodag/plugins/search/data_request_search.py,sha256=yrKu3EXhn6Utyai3qv5NPnH-V4EuGIAIxw6XzJA4IIw,26715
57
- eodag/plugins/search/qssearch.py,sha256=WZYKd0cySgbcF6RKObz-Sc55c3gXRZQCKJXM1sdtR84,91586
57
+ eodag/plugins/search/qssearch.py,sha256=L_bMGGwYXw04WJnTAPsIQV_aofoslzjkUd4caDJzEbY,91741
58
58
  eodag/plugins/search/stac_list_assets.py,sha256=OOCMyjD8XD-m39k0SyKMrRi4K8Ii5mOQsA6zSAeQDGI,3435
59
59
  eodag/plugins/search/static_stac_search.py,sha256=rfcKBD-0-gDFg6jbR_XCsVH1t9Yf9HIlnFE_Drr0BAs,9259
60
- eodag/resources/ext_product_types.json,sha256=868xoClXO9yhlpJ0RDQeLw2QtfDbw8albP92nsol5TM,3166884
60
+ eodag/resources/ext_product_types.json,sha256=GC5paLy0wRlRdXOy7cMX3ae-CJv08oOk0AN6KEqualg,3089093
61
61
  eodag/resources/locations_conf_template.yml,sha256=_eBv-QKHYMIKhY0b0kp4Ee33RsayxN8LWH3kDXxfFSk,986
62
62
  eodag/resources/product_types.yml,sha256=vN-VNxKmRbMmRfdjMI3Tc3vs66yhU3Oep8_v2AXWH9Y,409966
63
63
  eodag/resources/providers.yml,sha256=pf_96hfc_22I0YXzHZJ5PhA6mv6Ek3n9ujeKx6ggTPY,223198
@@ -76,7 +76,7 @@ eodag/rest/cache.py,sha256=dSgpw6uWDq45qxfD25LXkB-9Qk0OEb5L8UOl7yuMPEU,2097
76
76
  eodag/rest/config.py,sha256=qWXukdSB6cSpkZszkPSGPGn5oiVfKEC3rPGp0q-2c4E,2112
77
77
  eodag/rest/constants.py,sha256=XsNgjzv0Qvw1hhjeuscDuyQpCm99g3O-hEyslPSiFzQ,945
78
78
  eodag/rest/core.py,sha256=P4o9Fjb-1xE1mhKMai1m0D2J90pSkw_hxE3XI4iGXBg,26550
79
- eodag/rest/errors.py,sha256=R_zs9NILVnZ5qIpVgPtjprv_BalJxZEqr-LSZ0VVV8k,6192
79
+ eodag/rest/errors.py,sha256=YDbPrneeGuJGZygWBH2R_TWGice0jyvkSTTwFFQIiH4,6507
80
80
  eodag/rest/server.py,sha256=dqwP_mf856gPKxZCtdmH5WoYYji7edSab3Q_PzEQuUE,18308
81
81
  eodag/rest/server.wsgi,sha256=ssM4JQi8tZpOYj03CTdM0weyUF1b3Lbh38pdD-vBfXs,152
82
82
  eodag/rest/stac.py,sha256=t0xuFmJYbPvzBvJBs_8PQLCOJc5fJ8mbV9AbJxbMgVk,35827
@@ -92,7 +92,7 @@ eodag/rest/utils/rfc3339.py,sha256=_kaK7_8sxXyCAAs99ltVoinUw02frtZckl72ytI6IjQ,2
92
92
  eodag/types/__init__.py,sha256=FPDFHvjMnHBFNPx-B4TN-6qZhZ8VI5ICort6U6hCTYo,15612
93
93
  eodag/types/bbox.py,sha256=jbfX58KOKIl0OoGZc93kAYhG_mEOjuBQGJtR2hl3-_Y,4354
94
94
  eodag/types/download_args.py,sha256=urSl5KbLRN1XetMa2XzxYltny8CCFmHpjxU3j3BEGO8,1565
95
- eodag/types/queryables.py,sha256=9Jllvoq0SgCKQUmnhVNqj55_xdMq2Yw49-1SWFh_nI8,9880
95
+ eodag/types/queryables.py,sha256=0MWmRwoJJ6Mb6ceqF2pMrwh80jc-I9iWvu4n_E6BBf4,10069
96
96
  eodag/types/search_args.py,sha256=EtG8nXnApBnYrFo5FVvsvvEqRlqTxJ0lrmIem9Wtg8c,5649
97
97
  eodag/types/whoosh.py,sha256=VXpWAZaXLR_RRnI9gh5iwkqn1n63krVGj2SX0rB2mQo,7225
98
98
  eodag/utils/__init__.py,sha256=FFkJK6apDqYi3XOpXuyqS7DGMfUJkVQTBM7YaSK104I,52895
@@ -105,9 +105,9 @@ eodag/utils/requests.py,sha256=avNHKrOZ7Kp6lUA7u4kqupIth9MoirLzDsMrrmQDt4s,4560
105
105
  eodag/utils/rest.py,sha256=a9tlG_Y9iQXLeyeLyecxFNbopGHV-8URecMSRs0UXu0,3348
106
106
  eodag/utils/s3.py,sha256=2mspYgEYGA1IDbruMMDdJ2DoxyX3riSlV7PDIu7carg,7989
107
107
  eodag/utils/stac_reader.py,sha256=d1tv82_E5dEmK9Vlw3TQfU1ndXg_iUGatxMeWMnIWPo,9236
108
- eodag-3.3.0.dist-info/licenses/LICENSE,sha256=4MAecetnRTQw5DlHtiikDSzKWO1xVLwzM5_DsPMYlnE,10172
109
- eodag-3.3.0.dist-info/METADATA,sha256=BqJyA46-XwzYUiGpN3bWb6FE4s79Jwbv2QtJWG9GlWk,15476
110
- eodag-3.3.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
111
- eodag-3.3.0.dist-info/entry_points.txt,sha256=krdrBOQso6kAcSekV9ItEYAkE8syTC4Ev75bI781VgE,2561
112
- eodag-3.3.0.dist-info/top_level.txt,sha256=025IMTmVe5eDjIPP4KEFQKespOPMQdne4U4jOy8nftM,6
113
- eodag-3.3.0.dist-info/RECORD,,
108
+ eodag-3.3.1.dist-info/licenses/LICENSE,sha256=4MAecetnRTQw5DlHtiikDSzKWO1xVLwzM5_DsPMYlnE,10172
109
+ eodag-3.3.1.dist-info/METADATA,sha256=82R3B9hmXSCV2EWuBosvN785fL5-eE4EKbNaFQPmET8,15476
110
+ eodag-3.3.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
111
+ eodag-3.3.1.dist-info/entry_points.txt,sha256=krdrBOQso6kAcSekV9ItEYAkE8syTC4Ev75bI781VgE,2561
112
+ eodag-3.3.1.dist-info/top_level.txt,sha256=025IMTmVe5eDjIPP4KEFQKespOPMQdne4U4jOy8nftM,6
113
+ eodag-3.3.1.dist-info/RECORD,,
File without changes