Added multi relation dropdowns to dashbord (#363)

This change allows for a more complete combination of relation
combinations to be filtered.
This commit is contained in:
2023-11-11 13:47:46 +01:00
committed by GitHub
parent ad8f5d0fb1
commit e5b61bc19c
8 changed files with 147 additions and 106 deletions

View File

@@ -185,7 +185,7 @@ def test_filter_relation_type() -> None:
relation_dataframe = networkx_data.get_all_company_relations()
selected_relation_type = "HAFTENDER_GESELLSCHAFTER"
company_relations_df = networkx_data.filter_relation_type(
relation_dataframe, selected_relation_type
relation_dataframe, frozenset({selected_relation_type})
)
assert type(company_relations_df) is pd.DataFrame