def get_project_type_handler(project_type):
 global PROJECT_TYPES
 return PROJECT_TYPES.get(project_type)

def get_project_type_handler ( project_type ) : global PROJECT_TYPES return PROJECT_TYPES . get ( project_type )
returns the handler for the given project_type .