Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "multimodalrouter"
version = "0.1.6"
version = "0.1.7"
description = "A graph-based routing library for dynamic routing."
readme = "README.md"
license = { file = "LICENSE.md" }
Expand Down
6 changes: 5 additions & 1 deletion src/multimodalrouter/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,11 @@ def _generateHubs(self):
added.add(row.destination)

# get extra metrics
extra_metrics = {col: getattr(row, col) for col in extra_metric_cols}
extra_metrics = {
col: getattr(row, col)
for col in extra_metric_cols
if hasattr(row, col)
}

# link with the extra metrics
self._addLink(
Expand Down