mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 05:25:57 +08:00
Disable consolidation in distributed notebook, closes #786
This commit is contained in:
parent
e0c68f30f3
commit
69da78c13a
1 changed files with 10 additions and 3 deletions
|
@ -199,11 +199,18 @@ inputs to pass different values to our code. To render inputs, we need to
|
||||||
install the [Kino](https://github.com/livebook-dev/kino) library:
|
install the [Kino](https://github.com/livebook-dev/kino) library:
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
Mix.install([
|
Mix.install(
|
||||||
|
[
|
||||||
{:kino, "~> 0.4.1"}
|
{:kino, "~> 0.4.1"}
|
||||||
])
|
],
|
||||||
|
consolidate_protocols: false
|
||||||
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Note: the `consolidate_protocols: false` option is not usually
|
||||||
|
> given, but it will be handy when we discuss protocols later
|
||||||
|
> in this notebook.
|
||||||
|
|
||||||
Kino allows our code notebooks to control Livebook itself. Let's render
|
Kino allows our code notebooks to control Livebook itself. Let's render
|
||||||
an input by evaluating the cell below:
|
an input by evaluating the cell below:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue