

@classmethod
def _make_save_url(cls, document):
    if document.email_name:
        return '/save/{}/{}'.format(document.working_name, document.email_name)
    else:
        return '/save/{}'.format(document.working_name)

dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py Server._make_save_url/original