|
@ -228,8 +228,7 @@ def validate_parser_argument(raw_schema): |
|
|
|
|
|
|
|
|
Will raise `ContentError` if the schema is not respected. |
|
|
Will raise `ContentError` if the schema is not respected. |
|
|
""" |
|
|
""" |
|
|
rx_checker = Rx.Factory({"register_core_types": True}) |
|
|
schema = Rx.make_schema(yaml.load(raw_schema)) |
|
|
schema = rx_checker.make_schema(yaml.load(raw_schema)) |
|
|
|
|
|
|
|
|
|
|
|
def wrap(parse): |
|
|
def wrap(parse): |
|
|
"""Wrap the parse function""" |
|
|
"""Wrap the parse function""" |
|
|