File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1818from  zarr .abc .metadata  import  Metadata 
1919from  zarr .abc .store  import  Store , set_or_delete 
2020from  zarr .core ._info  import  GroupInfo 
21- from  zarr .core .array  import  Array , AsyncArray , _build_parents , create_array 
21+ from  zarr .core .array  import  (
22+     Array ,
23+     AsyncArray ,
24+     CompressionParam ,
25+     FiltersParam ,
26+     _build_parents ,
27+     create_array ,
28+ )
2229from  zarr .core .attributes  import  Attributes 
2330from  zarr .core .buffer  import  default_buffer_prototype 
2431from  zarr .core .common  import  (
@@ -1003,8 +1010,8 @@ async def create_array(
10031010        dtype : npt .DTypeLike ,
10041011        chunks : ChunkCoords  |  Literal ["auto" ] =  "auto" ,
10051012        shards : ChunkCoords  |  Literal ["auto" ] |  None  =  None ,
1006-         filters : Iterable [ dict [ str ,  JSON ]  |   Codec ]  =  () ,
1007-         compressors : Iterable [ dict [ str ,  JSON ]  |   Codec ]  =  () ,
1013+         filters : FiltersParam   =   "auto" ,
1014+         compressors : CompressionParam   =   "auto" ,
10081015        fill_value : Any  |  None  =  0 ,
10091016        order : MemoryOrder  |  None  =  "C" ,
10101017        attributes : dict [str , JSON ] |  None  =  None ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments