- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 366
 
Feat/store paths #2272
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
          
     Open
      
      
            d-v-b
  wants to merge
  30
  commits into
  zarr-developers:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
d-v-b:feat/store-paths
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +236
        
        
          −147
        
        
          
        
      
    
  
  
     Open
                    Feat/store paths #2272
Changes from 5 commits
      Commits
    
    
            Show all changes
          
          
            30 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      736ef8a
              
                add path attribute to stores; migrate localstore to the new protocol
              
              
                d-v-b 8189cc7
              
                add path kwarg to memory test fixture
              
              
                d-v-b 9696222
              
                Merge branch 'v3' of https://github.com/zarr-developers/zarr-python i…
              
              
                d-v-b fa13860
              
                add path to stores
              
              
                d-v-b c5586ce
              
                Merge branch 'v3' of https://github.com/zarr-developers/zarr-python i…
              
              
                d-v-b b4b9c28
              
                Merge branch 'main' of github.com:zarr-developers/zarr-python into fe…
              
              
                d-v-b c6c8843
              
                add _path attribute to localstore that caches a pathlib.Path version …
              
              
                d-v-b b5dd50c
              
                remove some old roots
              
              
                d-v-b d7fbbdc
              
                make store test class get and set async
              
              
                d-v-b 0b1c454
              
                remove an old root
              
              
                d-v-b d378242
              
                resolve get before _getting in zipstore tests
              
              
                d-v-b 669e258
              
                Merge branch 'main' into feat/store-paths
              
              
                d-v-b 9d0d04b
              
                add path kwarg to gpu memorystore test fixture
              
              
                d-v-b 471740b
              
                Merge branch 'main' of github.com:zarr-developers/zarr-python into fe…
              
              
                d-v-b 9a83b86
              
                zipstore store_kwargs propagates path
              
              
                d-v-b 84c545f
              
                storetests store_kwargs defaults to not implemented
              
              
                d-v-b bd912ef
              
                memory store clear is scoped to the path
              
              
                d-v-b 0c7ab00
              
                use relative path for zipfile listing
              
              
                d-v-b d04934d
              
                use path in with_mode for memorystore
              
              
                d-v-b 9e65afb
              
                call resolve_path at the top of store routines for memorystore
              
              
                d-v-b a5b186b
              
                use path for gpumemorystore
              
              
                d-v-b aab4138
              
                use relative key in test_list_dir
              
              
                d-v-b 346d291
              
                fix warning test
              
              
                d-v-b e68a341
              
                parameterize over path in memorystore tests
              
              
                d-v-b eb93c24
              
                Merge branch 'main' of github.com:zarr-developers/zarr-python into fe…
              
              
                d-v-b 59ac9ed
              
                lint docstring
              
              
                d-v-b fc4a780
              
                put path in memorystore and gpu memorystore reprs
              
              
                d-v-b a92cd4a
              
                update localstore repr
              
              
                d-v-b 1bd1714
              
                update zipstore repr
              
              
                d-v-b 808e9ff
              
                change default path for remotestore to ''
              
              
                d-v-b File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or do you think think we can do this in a generic way that applies to all stores?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can make it generic unfortunately, because each store class might have its own extra attributes. maybe we could use
__getstate__to get around this?