Skip to content

Commit

Permalink
fix hashing of ddl
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Oct 25, 2023
1 parent a035f84 commit c7ce543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ init <- function(data,
hashables$data <- if (inherits(hashables$data, "teal_data")) {
as.list(hashables$data@env)
} else if (inherits(hashables$data, "ddl")) {
attr(hashables$data, "datanames") # todo: no access to the $code in the current design
attr(hashables$data, "code")
} else if (hashables$data$is_pulled()) {
sapply(get_dataname(hashables$data), simplify = FALSE, function(dn) {
hashables$data$get_dataset(dn)$get_raw_data()
Expand Down

0 comments on commit c7ce543

Please sign in to comment.