def index(self, file=None, desc=""):

        if file is None:
            return UPLOAD_FORM
        else:
            return UPLOADED_FILE % (file.filename, desc, file.value)
Persists the given event somewhere.
dataset/ETHPy150Open circuits/circuits/examples/web/fileupload.py/Root.index--crossover with--dataset/ETHPy150Open keenlabs/KeenClient-Python/keen/persistence_strategies.py/BasePersistenceStrategy.persist