mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 16:52:34 +02:00
Reworked the tests
This commit is contained in:
parent
5c5b33153a
commit
e1b4d7d8ee
@ -103,6 +103,10 @@ def get_all_company_relations() -> pd.DataFrame:
|
||||
return company_relations
|
||||
|
||||
|
||||
@cached( # type: ignore
|
||||
cache=TTLCache(maxsize=100, ttl=int(os.getenv("PYTHON_CACHE_TTL", "3600"))),
|
||||
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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user