JuliaDataCubes / JuliaDataCubes/YAXArrayBase.jl

backendfrompath should work with S3Path

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.