get_sig_ref_info is ugly #74

Closed
opened 2025-11-02 13:59:45 +00:00 by ian · 0 comments
Owner

In order to perform a lookup of sig_ref_info without instantiating Spot Provider objects, get_sig_ref_info in sig_utils.py has its own cache for the same URLs that are looked up elsewhere, and generally copies functionality that is in Spot Providers.

It would be nice to refactor this out so that there is e.g. a generic POTA utils area that is used by the POTA Spot Provider and by get_sig_ref_info; repeat for the other SIGs.

We could also move to having a single application-wide URL lookup cache.

In order to perform a lookup of sig_ref_info without instantiating Spot Provider objects, get_sig_ref_info in sig_utils.py has its own cache for the same URLs that are looked up elsewhere, and generally copies functionality that is in Spot Providers. It would be nice to refactor this out so that there is e.g. a generic POTA utils area that is used by the POTA Spot Provider and by get_sig_ref_info; repeat for the other SIGs. We could also move to having a single application-wide URL lookup cache.
ian closed this issue 2025-11-02 15:45:25 +00:00
ian referenced this issue from a commit 2025-11-02 17:59:40 +00:00
ian referenced this issue from a commit 2025-11-02 18:00:27 +00:00
ian added this to the 1.0 milestone 2025-11-09 07:28:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ian/spothole#74
No description provided.