synthicity/urbansim — pull request #126 by daradib (2014-10-29 03:56:05+00:00)
Title: Injectable expressions

Decorated injectable functions can specify default values for arguments which are interpreted as injectable expressions. Currently expressions representing the names of injectables and table columns are supported.

This adds flexibility. For example, a function can use a different data source by only changing the default function arguments. Functions can also be injected individual table columns. Injectable names are no longer restricted to valid variable names.

Should update documentation and add tests.

As discussed in PR #124.