refs #6147. Smarter python usage.

Uses the output properties to complete the python signature.