parameters: (wizard)
return_statement: return cleaned_data['source_type']
docstring: Test whether the project import form should be shown.
docstring_summary: Test whether the project import form should be shown.
docstring_tokens: Test whether the project import form should be shown .
function: def get_source_type(wizard) -> str:
      """ Test whether the project import form should be shown."""
      cleaned_data = wizard.get_cleaned_data_for_step('sourcetypeselection') \
          or {'source_type': SOURCE_TYPE_CHOICES[0]}
      return cleaned_data['source_type']
function_tokens: def get_source_type ( wizard ) -> str : cleaned_data = wizard . get_cleaned_data_for_step ( 'sourcetypeselection' ) or { 'source_type' : SOURCE_TYPE_CHOICES [ 0 ] } return cleaned_data [ 'source_type' ]