

def get_initial(self):
    initial = {
        
    }
    if ('template_data' in self.kwargs):
        initial['template_data'] = self.kwargs['template_data']
    if ('template_url' in self.kwargs):
        initial['template_url'] = self.kwargs['template_url']
    if ('parameters' in self.kwargs):
        initial['parameters'] = json.dumps(self.kwargs['parameters'])
    return initial

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