simvue-io / simvue-io/python-api

Inform user of current lack of support for empty file uploads

Open
#182 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

improvement
Dominant language
Python
Stars
4
Forks
1
Avg merge
5d 8h
Merged PRs (30d)
4

Description

The current version of the server does not support the upload of empty files, currently simvue.run.Run.save does not inform the user that the upload was unsuccessful. Until the server is updated to support these files an exception should be raised when this is attempted.

Currently this is given only as a warning, for now an exception raise or just switching it to be an error would be better.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at simvue.run.Run.save and inspect how an empty file upload currently produces a warning. Change the behavior so attempting this unsupported upload raises an exception, then verify that the warning is no longer the reported outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.