quart icon indicating copy to clipboard operation
quart copied to clipboard

Update blog tutorial to use pathlib

Open patriacaelum opened this issue 1 year ago • 0 comments

The codeblock imported pathlib.Path but it was unused, so the operation for app.root_path / "blog.db" would error since app.root_path is defined as a string.

  • fixes #347

Checklist:

  • [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • [x] Add or update relevant docs, in the docs folder and in code.
  • [x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • [x] Add .. versionchanged:: entries in any relevant code docs.
  • [x] Run pre-commit hooks and fix any issues.
  • [x] Run pytest and tox, no tests failed.

patriacaelum avatar Jun 18 '24 08:06 patriacaelum