

def get_form_kwargs(self):
    kwargs = super(CreateStackView, self).get_form_kwargs()
    if ('parameters' in self.kwargs):
        kwargs['parameters'] = self.kwargs['parameters']
    else:
        data = json.loads(self.request.POST['parameters'])
        kwargs['parameters'] = data
    return kwargs

dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/dashboards/project/stacks/views.py CreateStackView.get_form_kwargs/original