From c7ce543d45c34341813e11f02744fc087ad92792 Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Wed, 25 Oct 2023 14:44:41 +0200 Subject: [PATCH] fix hashing of ddl --- R/init.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/init.R b/R/init.R index f36e464c93..d53faf3f20 100644 --- a/R/init.R +++ b/R/init.R @@ -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()