ERROR:
Traceback (most recent call last):


 "/home/qzhang/pyprojects/fastapi-tdd-docker/env/lib/python3.8/site-packages/starlette/routing.py", line 526, in lifespan

async for item in self.lifespan_context(app):


 "/home/qzhang/pyprojects/fastapi-tdd-docker/env/lib/python3.8/site-packages/starlette/routing.py", line 467, in default_lifespan

await self.startup()


 "/home/qzhang/pyprojects/fastapi-tdd-docker/env/lib/python3.8/site-packages/starlette/routing.py", line 502, in startup

await handler()


 "/home/qzhang/pyprojects/fastapi-tdd-docker/env/lib/python3.8/site-packages/tortoise/contrib/fastapi/__init__.py", line 92, in init_orm

await Tortoise.init(config=config, config_file=config_file, db_url=db_url, modules=modules)


 "/home/qzhang/pyprojects/fastapi-tdd-docker/env/lib/python3.8/site-packages/tortoise/__init__.py", line 527, in init

raise ConfigurationError(
tortoise.exceptions.ConfigurationError: You should init either from "config", "config_file" or "db_url"

Traceback (most recent call last):


 "/home/bay2rng/miniconda3/envs/p356_rtp_production_scheduling/lib/python3.7/site-packages/pandas/core/groupby/groupby.py", line 735, in apply

result = self._python_apply_general(f)


 "/home/bay2rng/miniconda3/envs/p356_rtp_production_scheduling/lib/python3.7/site-packages/pandas/core/groupby/groupby.py", line 751, in _python_apply_general

keys, values, mutated = self.grouper.apply(f, self._selected_obj, self.axis)


 "/home/bay2rng/miniconda3/envs/p356_rtp_production_scheduling/lib/python3.7/site-packages/pandas/core/groupby/ops.py", line 171, in apply

result_values, mutated = splitter.fast_apply(f, group_keys)


 "/home/bay2rng/miniconda3/envs/p356_rtp_production_scheduling/lib/python3.7/site-packages/pandas/core/groupby/ops.py", line 925, in fast_apply

return libreduction.apply_frame_axis0(sdata, f, names, starts, ends)


 "pandas/_libs/reduction.pyx", line 505, in pandas._libs.reduction.apply_frame_axis0
TypeError: copy() takes no keyword arguments
