Traceback (most recent call last):


 "/usr/lib/python3.7/socketserver.py", line 650, in process_request_thread

self.finish_request(request, client_address)


 "/usr/lib/python3.7/socketserver.py", line 360, in finish_request

self.RequestHandlerClass(request, client_address, self)


 "test5.py", line 10, in __init__

x.hide()


 "/media/james/Development/Programming/Python/beer_engine/remi/venv/lib/python3.7/site-packages/remi/gui.py", line 2474, in hide

self._base_app_instance.set_root_widget(self._old_root_widget)


 "/media/james/Development/Programming/Python/beer_engine/remi/venv/lib/python3.7/site-packages/remi/server.py", line 462, in set_root_widget

self.page.children['body'].append(widget, 'root')


 "/media/james/Development/Programming/Python/beer_engine/remi/venv/lib/python3.7/site-packages/remi/gui.py", line 1305, in append

raise ValueError('value should be a Widget (otherwise use add_child(key,other)')
ValueError: value should be a Widget (otherwise use add_child(key,other)

Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/Users/.../lib/python3.6/site-packages/pydantic/main.py", line 292, in schema

s = model_schema(cls, by_alias=by_alias)


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 193, in model_schema

model, by_alias=by_alias, model_name_map=model_name_map, ref_prefix=ref_prefix


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 463, in model_process_schema

model, by_alias=by_alias, model_name_map=model_name_map, ref_prefix=ref_prefix


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 484, in model_type_schema

f, by_alias=by_alias, model_name_map=model_name_map, ref_prefix=ref_prefix


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 240, in field_schema

ref_prefix=ref_prefix,


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 442, in field_type_schema

ref_prefix=ref_prefix,


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 610, in field_singleton_schema

ref_prefix=ref_prefix,


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 534, in field_singleton_sub_fields_schema

ref_prefix=ref_prefix,


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 442, in field_type_schema

ref_prefix=ref_prefix,


 "/Users/.../lib/python3.6/site-packages/pydantic/schema.py", line 645, in field_singleton_schema

raise ValueError(f'Value not declarable with JSON Schema, field: {field}')
ValueError: Value not declarable with JSON Schema, field: field_NoneType type=NoneType required
