allow passing in options to python resource