Skip to content

Commit

Permalink
fix the pyi to reflect the correct signature of JsonCompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-ai committed Nov 21, 2024
1 parent f206ad9 commit 4954b41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/llguidance/_lib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ class LLInterpreter:
class JsonCompiler:
def __new__(
cls,
compact: bool = False,
separators: Optional[tuple[str, str]] = None,
whitespace_flexible: bool = False,
) -> "JsonCompiler":
"""
Create a new JSON compiler.
Expand Down

0 comments on commit 4954b41

Please sign in to comment.