Skip to content

Commit

Permalink
parameter schema adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Nov 26, 2024
1 parent 1824ad5 commit 09881f2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion xcube_stac/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
DataTypeLike,
)
from xcube.util.jsonschema import JsonObjectSchema
from xcube.util.jsonschema import JsonBooleanSchema

from .constants import (
CDSE_STAC_URL,
Expand Down Expand Up @@ -311,7 +312,13 @@ def __init__(

@classmethod
def get_data_store_params_schema(cls) -> JsonObjectSchema:
stac_params = STAC_STORE_PARAMETERS.copy()
stac_params = dict(
**STAC_STORE_PARAMETERS,
creodias_vm=JsonBooleanSchema(
title="Decide if CDSE STAC API is used on a Creodias VM.",
default=False,
),
)
del stac_params["url"]
return JsonObjectSchema(
description="Describes the parameters of the xcube data store 'stac-csde'.",
Expand Down

0 comments on commit 09881f2

Please sign in to comment.