Skip to content

Fix get_location_by_id & Add test

Julian Menzler requested to merge julian/fix_read_document into main

The function get_location_by_id has not been used or properly tested yet. Due to a type mismatch, it always returns None. This PR adds a test that catches this wrong behavior and fixes the issue.

Moreover, the data fields of Location are no longer static, which was also never intended.

Merge request reports