Traceback (most recent call last):


 "test.py", line 9, in <module>

print(TestUrl(url="https://8.8.8.8www.google.com"))


 "/private/tmp/pydantic/pydantic/main.py", line 338, in __init__

raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for TestUrl

Traceback (most recent call last):

 "/usr/bin/xonsh", line 3, in <module>
main()

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 16446, in main
args = premain(argv)

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 16431, in premain
shell = builtins.__xonsh_shell__ = Shell(**shell_kwargs)

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 16185, in __init__
kwargs.get('cacheall', False))

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 16227, in _init_environ
debug_level=debug)

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 15871, in __init__
load_builtins(execer=self, config=config, login=login, ctx=xonsh_ctx)

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 15711, in load_builtins
builtins.__xonsh_env__ = ENV = Env(default_env(config=config, login=login))

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 11335, in __init__
self[key] = val

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 11468, in __setitem__
val = ensurer.convert(val)

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 6186, in to_history_tuple
return to_history_tuple((m.group(1), m.group(3)))

 "/usr/lib/python3.5/site-packages/xonsh/__amalgam__.py", line 6189, in to_history_tuple
units, converter = HISTORY_UNITS[x[1]]TypeError: 'LazyObject' object is not subscriptable