Decorators are applied bottom-up, so @FromFile below the routine decorator
runs first and parks the file for it. Placing it above also works — the
routine's metadata already exists by then, so the file is attached directly.
Either order is fine; below reads better next to the other options.
Point a decorated routine at a file holding its body.
Equivalent to passing
filein the options, and useful when the rest of the declaration is short enough to read on one line:Decorators are applied bottom-up, so
@FromFilebelow the routine decorator runs first and parks the file for it. Placing it above also works — the routine's metadata already exists by then, so the file is attached directly. Either order is fine; below reads better next to the other options.