Skip to content

sd_utils.func

pencil-pusher edited this page Apr 24, 2021 · 1 revision

Table of Contents

sd_utils.func

create_function

create_function(name, signature, callback)

Dynamically creates a function that wraps a call to callback, based on the provided signature. Note that only default arguments with a value of None are supported. Any other value will raise a TypeError.

Clone this wiki locally