diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-01-23 16:03:41 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-07 17:16:26 -0400 |
commit | f192ecd1effbed2dcc507707a780ecc8e95a537e (patch) | |
tree | 0bd70bccf31ce700856f542e1b4b75d0be0107ae /docs/refman/jsonschema.py | |
parent | 0808ae1b3d32eebd68342329428631e6a9be4248 (diff) | |
download | meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.zip meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.tar.gz meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.tar.bz2 |
docs: refman: Add `arg_flattening` support
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): ''' |