More specifically, this PR makes the following changes:
1. Add query param for limit,
2. Update studyDetails only if there is no study with
the specified study_id or the fetched trials has a
positive length,
3. Shorten the waiting interval when there is a leftover
in the server side, and
4. Adapt the flake8 setup to the Optuna repo.