def get_export_url(component):
 return get_site_url(reverse('git-export', kwargs={'project': component.project.slug, 'subproject': component.slug, 'path': ''}))

def get_export_url ( component ) : return get_site_url ( reverse ( 'git-export' , kwargs = { 'project' : component . project . slug , 'subproject' : component . slug , 'path' : '' } ) )
returns git export url for component .