Closed dizballanze closed 2 years ago
When I'm trying something like this:
dsn: Optional[URL] = argclass.Argument(required=False)
I'm getting error like this:
error: argument --dsn: invalid Optional value: 'https://example.org/'
It works with type, though:
type
dsn: Optional[URL] = argclass.Argument(required=False, type=URL)
When I'm trying something like this:
I'm getting error like this:
It works with
type
, though: