@transaction.commit_on_success
def save_source_file(resource, user, content, method, filename=None):
    fb = FormatsBackend(resource, resource.source_language, user)
    return fb.import_source(content, filename)


# Restrict access only for private projects
# Allow even anonymous access on public projects
Validates an upload input based on minimum size.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/views.py/save_source_file--crossover with--dataset/ETHPy150Open gregorynicholas/flask-gae_blobstore/flask_gae_blobstore.py/validate_min_size