Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option for templated paths #181

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

drnextgis
Copy link
Contributor

@drnextgis drnextgis commented Jun 6, 2024

Related issues and pull requests

Description

Add support for templated paths to specify the location for downloaded files, as outlined in https://pystac.readthedocs.io/en/latest/api/layout.html#pystac.layout.LayoutTemplate.

Checklist

  • Add tests
  • Add docs
  • Update CHANGELOG

@drnextgis drnextgis requested a review from gadomski as a code owner June 6, 2024 23:09
@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.55%. Comparing base (cbeb940) to head (3fb8e6e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   84.52%   84.55%   +0.03%     
==========================================
  Files          16       16              
  Lines         995      997       +2     
==========================================
+ Hits          841      843       +2     
  Misses        154      154              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drnextgis drnextgis force-pushed the path-template branch 2 times, most recently from 1dd91dd to f9b9097 Compare June 6, 2024 23:16
src/stac_asset/_functions.py Outdated Show resolved Hide resolved
@gadomski gadomski enabled auto-merge (squash) June 19, 2024 14:29
@gadomski gadomski merged commit ebafba8 into stac-utils:main Jun 19, 2024
9 checks passed
@drnextgis drnextgis deleted the path-template branch June 19, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option for templated paths when downloading item collections
3 participants