Skip to content

Commit

Permalink
fix(tensorstore): exists_ok -> exist_ok
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Nov 12, 2024
1 parent a605bd3 commit 1167fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwp_consumer/internal/entities/tensorstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def initialize_empty_store(
},
)
path = zarrdir + "/" + TensorStore.gen_store_filename(coords=coords)
fs.mkdirs(path=path, exists_ok=True)
fs.mkdirs(path=path, exist_ok=True)
store = s3fs.mapping.S3Map(path, fs, check=False, create=True)
except Exception as e:
return Failure(OSError(
Expand Down

0 comments on commit 1167fb8

Please sign in to comment.