@@ -380,10 +380,8 @@ def landing_page(self, **kwargs) -> stac.LandingPage:
380380 if self .extension_is_enabled ("FilterExtension" ):
381381 landing_page ["links" ].append (
382382 {
383- # TODO: replace this with Relations.queryables.value,
384- "rel" : "http://www.opengis.net/def/rel/ogc/1.0/queryables" ,
385- # TODO: replace this with MimeTypes.jsonschema,
386- "type" : "application/schema+json" ,
383+ "rel" : Relations .queryables .value ,
384+ "type" : MimeTypes .jsonschema .value ,
387385 "title" : "Queryables" ,
388386 "href" : urljoin (base_url , "queryables" ),
389387 "method" : "GET" ,
@@ -586,10 +584,8 @@ async def landing_page(self, **kwargs) -> stac.LandingPage:
586584 if self .extension_is_enabled ("FilterExtension" ):
587585 landing_page ["links" ].append (
588586 {
589- # TODO: replace this with Relations.queryables.value,
590- "rel" : "http://www.opengis.net/def/rel/ogc/1.0/queryables" ,
591- # TODO: replace this with MimeTypes.jsonschema,
592- "type" : "application/schema+json" ,
587+ "rel" : Relations .queryables .value ,
588+ "type" : MimeTypes .jsonschema .value ,
593589 "title" : "Queryables" ,
594590 "href" : urljoin (base_url , "queryables" ),
595591 "method" : "GET" ,
0 commit comments