@@ -415,19 +415,6 @@ def landing_page(self, **kwargs) -> stac.LandingPage:
415
415
]
416
416
)
417
417
418
- # Add Collections links
419
- collections = self .all_collections (request = kwargs ["request" ])
420
-
421
- for collection in collections ["collections" ]:
422
- landing_page ["links" ].append (
423
- {
424
- "rel" : Relations .child .value ,
425
- "type" : MimeTypes .json .value ,
426
- "title" : collection .get ("title" ) or collection .get ("id" ),
427
- "href" : urljoin (base_url , f"collections/{ collection ['id' ]} " ),
428
- }
429
- )
430
-
431
418
# Add OpenAPI URL
432
419
landing_page ["links" ].append (
433
420
{
@@ -639,19 +626,6 @@ async def landing_page(self, **kwargs) -> stac.LandingPage:
639
626
]
640
627
)
641
628
642
- # Add Collections links
643
- collections = await self .all_collections (request = kwargs ["request" ])
644
-
645
- for collection in collections ["collections" ]:
646
- landing_page ["links" ].append (
647
- {
648
- "rel" : Relations .child .value ,
649
- "type" : MimeTypes .json .value ,
650
- "title" : collection .get ("title" ) or collection .get ("id" ),
651
- "href" : urljoin (base_url , f"collections/{ collection ['id' ]} " ),
652
- }
653
- )
654
-
655
629
# Add OpenAPI URL
656
630
landing_page ["links" ].append (
657
631
{
0 commit comments