mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
feat: Add Method not Allowed handling for generate API and imporove error handling
Refs: OPS-12
This commit is contained in:
parent
0243091b76
commit
edf145c8de
8 changed files with 53 additions and 28 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
# do not remove this import. This is needed for
|
||||
# pytest fixtures to work
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest # noqa: F401
|
||||
|
||||
from senju.haiku import Haiku
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
# I do not trust python and it's tests, so I'm testing them. May not be worth
|
||||
# much, but at least it shows me a few things.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
# do not remove this import. This is needed for
|
||||
# pytest fixtures to work
|
||||
import pytest # noqa: F401
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue