lumen icon indicating copy to clipboard operation
lumen copied to clipboard

Add escaping option for string and dictionary starting with `$` sign

Open hoxbro opened this issue 7 months ago • 0 comments

Right now this will print an empty string and dictionary:

import param
from lumen.base import Component


class Example(Component):
    s = param.String()
    d = param.Dict()


ex = Example(s="$", d={"a": "$1"})

print(ex.s, ex.d)

hoxbro avatar Nov 29 '23 17:11 hoxbro