File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ def get_search_link(self) -> Optional[pystac.Link]:
505505 None ,
506506 )
507507
508- def _get_collections_href (self , id : Optional [str ] = None ) -> str :
508+ def _get_collections_href (self , collection_id : Optional [str ] = None ) -> str :
509509 self_href = self .get_self_href ()
510510 if self_href is None :
511511 data_link = self .get_single_link ("data" )
@@ -521,10 +521,10 @@ def _get_collections_href(self, id: Optional[str] = None) -> str:
521521 if not pystac .utils .is_absolute_href (collections_href ):
522522 collections_href = self ._make_absolute_href (collections_href )
523523
524- if id is None :
524+ if collection_id is None :
525525 return collections_href
526526 else :
527- return f"{ collections_href .rstrip ('/' )} /{ id } "
527+ return f"{ collections_href .rstrip ('/' )} /{ collection_id } "
528528
529529 def _make_absolute_href (self , href : str ) -> str :
530530 self_link = self .get_single_link ("self" )
You can’t perform that action at this time.
0 commit comments