JuliaDataCubes / JuliaDataCubes/YAXArrayBase.jl
backendfrompath should work with S3Path
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 3
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
It would be good if the backendfrompath function would work with specific path types.
It might be only to loose the type restriction for the defined method.
ERROR: MethodError: no method matching backendfrompath(::S3Path{Nothing})
The function `backendfrompath` exists, but no method is defined for this combination of argument types.
Closest candidates are:
backendfrompath(::String; driver)
@ YAXArrayBase ~/.julia/packages/YAXArrayBase/lAdRh/src/datasets/datasetinterface.jl:84
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect src/datasets/datasetinterface.jl around the backendfrompath definition referenced at line 84, then reproduce the S3Path{Nothing} MethodError. Done means backendfrompath accepts the specific S3Path type without the reported dispatch failure; check whether an existing test location is available before adding coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, julia
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100