(x)
| 229 | |
| 230 | |
| 231 | def _flat_set(x): |
| 232 | if x is None: |
| 233 | return set() |
| 234 | elif isinstance(x, set): |
| 235 | return x |
| 236 | elif not isinstance(x, (list, set)): |
| 237 | x = [x] |
| 238 | return set(x) |
| 239 | |
| 240 | |
| 241 | def inline(dsk, keys=None, inline_constants=True, dependencies=None): |