Create View With Input Parameters Python