llama-stack-mirror/llama_stack
Ihar Hrachyshka 41bd350539
chore: Don't set type variables from register_schema() (#1713)
# What does this PR do?

Don't set type variables from register_schema().

`mypy` is not happy about it since type variables are calculated at
runtime and hence the typing hints are not available during static
analysis.

Good news is there is no good reason to set the variables from the
return type.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-03-19 20:29:00 -07:00
..
apis chore: Don't set type variables from register_schema() (#1713) 2025-03-19 20:29:00 -07:00
cli refactor: simplify command execution and remove PTY handling (#1641) 2025-03-17 15:03:14 -07:00
distribution chore: deprecate /v1/inspect/providers (#1678) 2025-03-19 20:27:06 -07:00
models/llama chore: Don't set type variables from register_schema() (#1713) 2025-03-19 20:29:00 -07:00
providers feat: [New Eval Benchamark] IfEval (#1708) 2025-03-19 16:39:59 -07:00
strong_typing Ensure that deprecations for fields follow through to OpenAPI 2025-02-19 13:54:04 -08:00
templates feat: [New Eval Benchamark] IfEval (#1708) 2025-03-19 16:39:59 -07:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py feat: add support for logging config in the run.yaml (#1408) 2025-03-14 12:36:25 -07:00
schema_utils.py ci: add mypy for static type checking (#1101) 2025-02-21 13:15:40 -08:00