diff options
Diffstat (limited to 'docs/refman/jsonschema.py')
-rw-r--r-- | docs/refman/jsonschema.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/refman/jsonschema.py b/docs/refman/jsonschema.py index 6d6f98a..1b94856 100644 --- a/docs/refman/jsonschema.py +++ b/docs/refman/jsonschema.py @@ -8,7 +8,7 @@ import typing as T # the Meson version VERSION_MAJOR = 1 # Changes here indicate breaking format changes (changes to existing keys) -VERSION_MINOR = 0 # Changes here indicate non-breaking changes (only new keys are added to the existing structure) +VERSION_MINOR = 1 # Changes here indicate non-breaking changes (only new keys are added to the existing structure) class BaseObject(T.TypedDict): ''' @@ -43,13 +43,14 @@ class Function(BaseObject): ''' Represents a function or method. ''' - returns: T.List[Type] # A non-empty list of types that are supported. - returns_str: str # Formated version of `returns`. Is guranteed to not contain any whitespaces. - example: T.Optional[str] - posargs: T.Dict[str, Argument] - optargs: T.Dict[str, Argument] - kwargs: T.Dict[str, Argument] - varargs: T.Optional[Argument] + returns: T.List[Type] # A non-empty list of types that are supported. + returns_str: str # Formatted version of `returns`. Is guaranteed to not contain any whitespaces. + example: T.Optional[str] + posargs: T.Dict[str, Argument] + optargs: T.Dict[str, Argument] + kwargs: T.Dict[str, Argument] + varargs: T.Optional[Argument] + arg_flattening: bool class Object(BaseObject): ''' |