Skip to content

specification class to have optional cloud path s3 - #571

Merged
pooleycodes merged 7 commits into
mainfrom
109-bug-refresh-async-files-if-spec-has-updated
Jul 1, 2026
Merged

specification class to have optional cloud path s3#571
pooleycodes merged 7 commits into
mainfrom
109-bug-refresh-async-files-if-spec-has-updated

Conversation

@pooleycodes

@pooleycodes pooleycodes commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This PR migrates Specification to use cloudpathlib.AnyPath so it can load specification files directly from S3 as well as local paths. It also adds pre load to issue-type.csv, this allows async to not have to try and import cloudpathlib as well.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

Tested by changing Async to point to this branch and load files using both local and S3.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above. Please refer to the Digital Land Testing Guidance for more information.

  • Yes
  • No, and this is why: Changes underlying code to functions, but current functions still have adequate coverage.
  • I need help with writing tests

@pooleycodes
pooleycodes merged commit d4a611a into main Jul 1, 2026
5 checks passed
@pooleycodes
pooleycodes deleted the 109-bug-refresh-async-files-if-spec-has-updated branch July 1, 2026 07:54
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.

Load Spec into S3 - Async uses S3 instead

2 participants