mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-27 06:28:50 +00:00
feat: use XDG directory standards
Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
This commit is contained in:
parent
9736f096f6
commit
407c3e3bad
50 changed files with 5611 additions and 508 deletions
|
@ -11,13 +11,12 @@ Type-safe data interchange for Python data classes.
|
|||
"""
|
||||
|
||||
import keyword
|
||||
from typing import Optional
|
||||
|
||||
from .auxiliary import Alias
|
||||
from .inspection import get_annotation
|
||||
|
||||
|
||||
def python_field_to_json_property(python_id: str, python_type: Optional[object] = None) -> str:
|
||||
def python_field_to_json_property(python_id: str, python_type: object | None = None) -> str:
|
||||
"""
|
||||
Map a Python field identifier to a JSON property name.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue