Skip to content

Commit c037287

Browse files
committed
PPF-688: back to old syntax
1 parent 5314c71 commit c037287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyPDFForm/middleware/checkbox.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def schema_definition(self) -> dict:
3434
return {"type": "boolean"}
3535

3636
@property
37-
def sample_value(self) -> bool | int:
37+
def sample_value(self) -> Union[bool, int]:
3838
"""Sample value of the checkbox."""
3939

4040
return True

0 commit comments

Comments
 (0)