diff --git a/src/python_inspector/api.py b/src/python_inspector/api.py index 570a839..ef83671 100644 --- a/src/python_inspector/api.py +++ b/src/python_inspector/api.py @@ -208,7 +208,7 @@ def resolve_dependencies( if not direct_dependencies: return Resolution( packages=[], - resolution={}, + resolution=[], files=files, ) diff --git a/tests/data/setup/no-direct-dependencies-setup.py-expected.json b/tests/data/setup/no-direct-dependencies-setup.py-expected.json index 508b814..e9c5e46 100644 --- a/tests/data/setup/no-direct-dependencies-setup.py-expected.json +++ b/tests/data/setup/no-direct-dependencies-setup.py-expected.json @@ -81,5 +81,5 @@ } ], "packages": [], - "resolved_dependencies_graph": {} + "resolved_dependencies_graph": [] } \ No newline at end of file