llama-stack/llama_stack/apis/inference
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
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
event_logger.py pre-commit lint 2024-09-28 16:04:41 -07:00
inference.py chore: Don't set type variables from register_schema() (#1713) 2025-03-19 20:29:00 -07:00