diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-13 00:15:43 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-13 00:15:43 -0700 |
commit | 2ad519c46081a2bf730133420edd6268428b0e70 (patch) | |
tree | 268f2028e1bd5e79a8d6442978819191c5b06464 /doc | |
parent | 849b6c2710cb71e9da6d26ca121a4b25ed1f28d6 (diff) | |
download | consfigurator-2ad519c46081a2bf730133420edd6268428b0e70.tar.gz |
how to work around restriction about anonymous functions
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guide.rst b/doc/guide.rst index b0c8ebf..19bf1f7 100644 --- a/doc/guide.rst +++ b/doc/guide.rst @@ -188,4 +188,6 @@ connection types they are used with. Note that you *can* programmatically determine what arguments will get passed to properties upon deployment, though each of these arguments needs to be serialisable, so you can't pass anonymous functions or objects containing -those. +those. You can work around the latter restriction by defining a new property +which passes in the desired anonymous function, and then adding the new +property to your property application specification. |