Fixed a test

This commit is contained in:
Philipp Horstenkamp 2024-01-15 22:28:34 +01:00
parent b512eef308
commit 7c943b3997
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -105,7 +105,7 @@ def get_all_company_relations() -> pd.DataFrame:
@cached( # type: ignore
cache=TTLCache(maxsize=100, ttl=int(os.getenv("PYTHON_CACHE_TTL", "3600"))),
key=lambda drop_min_person_links: hash(drop_min_person_links),
key=lambda: None,
)
def get_all_person_relations() -> pd.DataFrame:
"""These method makes a Database Request for all Persons and their relations, modifies the ID Column and returns the Result as an DataFrame.