Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-wanna-M committed Oct 12, 2024
1 parent 0ed7a67 commit d915899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatron/formats/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def __init__(self, nonterminal: str, capture_name: typing.Optional[str], schema:
- typing.Literal[x1,x2,...] where x1, x2, ... are instances of int, string, bool or NoneType, or another typing.Literal[y1,y2,...]
- typing.Union[T1,T2,...] where T1,T2,... are supported types.
- schemas.Schema where all its fields' data types are supported. Recursive schema definitions are supported as well.
- *Warning*: while not required field is supported, they can lead to very slow performance and/or enormous memory consumption if there are too many of them!
Args:
nonterminal: The nonterminal representing the extractor.
capture_name: The capture name of the extractor, or `None` if the extractor does not capture.
Expand Down

0 comments on commit d915899

Please sign in to comment.