Allows making a copy of the Callable optionally overriding the callable and other parameters.
(self, callable=None, **overrides)
| 102 | periodic = param.Parameter() |
| 103 | |
| 104 | def clone(self, callable=None, **overrides): |
| 105 | """ |
| 106 | Allows making a copy of the Callable optionally overriding |
| 107 | the callable and other parameters. |
| 108 | """ |
| 109 | old = {k: v for k, v in self.param.values().items() if k not in ['callable', 'name']} |
| 110 | params = dict(old, **overrides) |
| 111 | callable = self.callable if callable is None else callable |
| 112 | return self.__class__(callable, **params) |
| 113 | |
| 114 | def start(self): |
| 115 | """ |
no outgoing calls
no test coverage detected