Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
1 parent f060a4f commit 9e092b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/embedding.R
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ load_index <- function(domain, local_embeddings = FALSE) {
if (domain == "All") {
arrow::open_dataset(
data_dir,
factory_options = list(selector_ignore_prefixes = "local")) |>
factory_options = list(selector_ignore_prefixes = "local")
) |>
tibble::as_tibble()
} else {
arrow::read_parquet(glue("{data_dir}/{domain}.parquet"))
Expand Down

0 comments on commit 9e092b4

Please sign in to comment.