mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
mypy
This commit is contained in:
parent
3b7982c59f
commit
44c702f9ca
2 changed files with 7 additions and 5 deletions
|
@ -92,7 +92,7 @@ def get_class_property_docstrings(
|
|||
:returns: A dictionary mapping property names to descriptions.
|
||||
"""
|
||||
|
||||
result = {}
|
||||
result: Dict[str, str] = {}
|
||||
# Only try to get MRO if data_type is actually a class
|
||||
# Special types like Literal, Union, etc. don't have MRO
|
||||
if not inspect.isclass(data_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue