Mock backend not loading with default arguments
➜ arrakis-server
2024-08-27 10:53:13,058 | arrakis : INFO : serving at grpc://0.0.0.0:31206 with mock backend
2024-08-27 10:53:13,071 | arrakis : INFO : loading channel description file: <contextlib._GeneratorContextManager object at 0x7f1556908e00>
Traceback (most recent call last):
File "/home/patrick/workspace/venv/arrakis-server/bin/arrakis-server", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/patrick/workspace/venv/arrakis-server/lib/python3.12/site-packages/arrakis_server/__main__.py", line 102, in main
server = FlightServer(**format_args(args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/patrick/workspace/venv/arrakis-server/lib/python3.12/site-packages/arrakis_server/server.py", line 49, in __init__
self._backend = MockBackend(mock_channel_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/patrick/workspace/venv/arrakis-server/lib/python3.12/site-packages/arrakis_server/backends/mock/__init__.py", line 92, in __init__
self._channel_map, self._channel_func_map = load_channels(*channel_files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/patrick/workspace/venv/arrakis-server/lib/python3.12/site-packages/arrakis_server/backends/mock/__init__.py", line 63, in load_channels
channel_list = toml.load(path)
^^^^^^^^^^^^^^^
File "/home/patrick/workspace/venv/arrakis-server/lib/python3.12/site-packages/toml/decoder.py", line 133, in load
with io.open(_getpath(f), encoding='utf-8') as ffile:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '<contextlib._GeneratorContextManager object at 0x7f1556908e00>'