Debian Codegraph @

tests/test_bind_none.py

raw symbols SCIP
1 from pathlib import Path
2 from typing import Annotated
3
4 from cyclopts import Parameter
5
6
7 def test_bind_negative_none(app, assert_parse_args):
8 @app.default
9 def default(path: Annotated[Path | None, Parameter(negative_none="default-")]):
10 pass
11
12 assert_parse_args(default, "--default-path", None)