Fix default string option rendering
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "megasniff"
|
||||
version = "0.2.3"
|
||||
version = "0.2.3.post1"
|
||||
description = "Library for in-time codegened type validation"
|
||||
authors = [
|
||||
{ name = "nikto_b", email = "niktob560@yandex.ru" }
|
||||
|
||||
@@ -219,7 +219,7 @@ class SchemaInflatorGenerator:
|
||||
utils.typename(argtype),
|
||||
has_default,
|
||||
allow_none,
|
||||
default_option,
|
||||
default_option if not isinstance(default_option, str) else f"'{default_option}'",
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user