Hello, I’d like to use new context feature(which appeared in version 1.6.20), but i have no idea how can I add compiler option for it in datalore. Is it possible?
Hi @AndreiKinglsey, thanks for the question!
While it’s possible to turn it on, for example with the following init.sh
file in Attached files
echo '@file:CompilerArgs("-Xcontext-receivers")' >> /opt/datalore/python/kernel_runner/evaluator/kotlin/set_logging.kts
the Kotlin kernel might not handle this feature properly at the moment. We’ll reach you here when it’s fixed.
Ok, thanks.