File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1092,8 +1092,6 @@ async def empty(
10921092    retrieve data from an empty Zarr array, any values may be returned, 
10931093    and these are not guaranteed to be stable from one access to the next. 
10941094    """ 
1095-     if  "fill_value"  not  in kwargs :
1096-         kwargs ["fill_value" ] =  None 
10971095    return  await  create (shape = shape , ** kwargs )
10981096
10991097
@@ -1123,7 +1121,7 @@ async def empty_like(
11231121    """ 
11241122    like_kwargs  =  _like_args (a ) |  kwargs 
11251123    if  isinstance (a , (AsyncArray  |  Array )):
1126-         kwargs .setdefault ("fill_value" , a .metadata .fill_value )
1124+         like_kwargs .setdefault ("fill_value" , a .metadata .fill_value )
11271125    return  await  empty (** like_kwargs )  # type: ignore[arg-type] 
11281126
11291127
@@ -1171,7 +1169,7 @@ async def full_like(
11711169    """ 
11721170    like_kwargs  =  _like_args (a ) |  kwargs 
11731171    if  isinstance (a , (AsyncArray  |  Array )):
1174-         kwargs .setdefault ("fill_value" , a .metadata .fill_value )
1172+         like_kwargs .setdefault ("fill_value" , a .metadata .fill_value )
11751173    return  await  full (** like_kwargs )  # type: ignore[arg-type] 
11761174
11771175
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments