Coverage for astrocyte/recall/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.0, created at 2026-07-04 05:24 +0000

1"""Federated / proxy recall helpers (M4.1).""" 

2 

3from astrocyte.recall.merge_result import merge_external_into_recall_result 

4from astrocyte.recall.oauth import ( 

5 clear_oauth2_token_cache_for_tests, 

6 exchange_oauth2_authorization_code, 

7 fetch_oauth2_client_credentials_token, 

8 fetch_oauth2_refresh_access_token, 

9 post_oauth2_token_endpoint, 

10) 

11from astrocyte.recall.proxy import ( 

12 PLACE_BANK, 

13 PLACE_QUERY, 

14 auth_with_oauth_cache_namespace, 

15 build_proxy_headers, 

16 fetch_proxy_recall_hits, 

17 gather_proxy_hits_for_bank, 

18 merge_manual_and_proxy_hits, 

19 validate_proxy_recall_dns, 

20 validate_proxy_recall_url, 

21) 

22 

23__all__ = [ 

24 "PLACE_BANK", 

25 "PLACE_QUERY", 

26 "auth_with_oauth_cache_namespace", 

27 "build_proxy_headers", 

28 "clear_oauth2_token_cache_for_tests", 

29 "exchange_oauth2_authorization_code", 

30 "fetch_oauth2_client_credentials_token", 

31 "fetch_oauth2_refresh_access_token", 

32 "fetch_proxy_recall_hits", 

33 "gather_proxy_hits_for_bank", 

34 "merge_manual_and_proxy_hits", 

35 "merge_external_into_recall_result", 

36 "post_oauth2_token_endpoint", 

37 "validate_proxy_recall_dns", 

38 "validate_proxy_recall_url", 

39]