Traceback (most recent call last):


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


 "/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py", line 716, in __init__

self.Model = self.make_declarative_base(model_class, metadata)


 "/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py", line 798, in make_declarative_base

model.query_class = self.Query


 "/usr/local/lib/python3.8/site-packages/sqlalchemy/ext/declarative/api.py", line 79, in __setattr__

_add_attribute(cls, key, value)


 "/usr/local/lib/python3.8/site-packages/sqlalchemy/ext/declarative/base.py", line 802, in _add_attribute

type.__setattr__(cls, key, value)
TypeError: can't apply this __setattr__ to DefaultMeta object

Traceback (most recent call last):


 "train_model.py", line 101, in <module>

my_app()


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/main.py", line 37, in decorated_main

strict=strict,


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 345, in _run_hydra

lambda: hydra.run(


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 199, in run_and_report

raise ex


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 196, in run_and_report

return func()


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 348, in <lambda>

overrides=args.overrides,


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/hydra.py", line 112, in run

configure_logging=with_log_configuration,


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/core/utils.py", line 126, in run_job

ret.return_value = task_function(task_cfg)


 "train_model.py", line 69, in my_app

hydra.utils.instantiate(cfg.repr)


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/utils.py", line 121, in instantiate

).with_traceback(sys.exc_info()[2])


 "/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/utils.py", line 114, in instantiate

return target(*args, **final_kwargs)
TypeError: Error instantiating/calling 'train_model.MyReprClass' : __init__() missing 1 required positional argument: 'root'
