You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1496 moves more ClientTrustConfig and related classes (SigningConfig, TrustedRoot) to models. To accomodate that, lazy imports were added for RekorClient and Rekor2Client. It would be nice to clean this up.
The issue appears because we now import Rekor*Client in models but those want to import TransparencyLogEntry from models...
Hi @jku, I broke the cycle by removing the module-level TransparencyLogEntry import from the Rekor clients (kept under TYPE_CHECKING and imported locally where needed), so models.py can import Rekor clients normally. Let me know if I should change/improve something
Activity
MatteoFari commentedon Jan 23, 2026
Hi @jku, I broke the cycle by removing the module-level TransparencyLogEntry import from the Rekor clients (kept under TYPE_CHECKING and imported locally where needed), so models.py can import Rekor clients normally. Let me know if I should change/improve something
oaksprout commentedon Jul 28, 2026