forked from phoenix-oss/llama-stack-mirror
fix: resolve type hint issues and import dependencies (#1176)
# What does this PR do? - Fixed type hinting and missing imports across multiple modules. - Improved compatibility by using `TYPE_CHECKING` for conditional imports. - Updated `pyproject.toml` to enforce stricter linting. Signed-off-by: Sébastien Han <seb@redhat.com> Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
1a044ef894
commit
c223b1862b
7 changed files with 14 additions and 5 deletions
|
@ -231,7 +231,7 @@ def worker_process_entrypoint(
|
|||
while True:
|
||||
try:
|
||||
task = req_gen.send(result)
|
||||
if isinstance(task, str) and task == _END_SENTINEL:
|
||||
if isinstance(task, str) and task == EndSentinel():
|
||||
break
|
||||
|
||||
assert isinstance(task, TaskRequest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue