feat: implement task dependencies with validation and update handling

This commit is contained in:
Abhimanyu Saharan
2026-02-07 00:21:44 +05:30
parent 8970ee6742
commit 4bab455912
34 changed files with 1241 additions and 157 deletions

View File

@@ -4,14 +4,12 @@ from dataclasses import dataclass
from starlette.requests import Request
@dataclass
class ClerkConfig:
jwks_url: str
verify_iat: bool = ...
leeway: float = ...
class HTTPAuthorizationCredentials:
scheme: str
credentials: str
@@ -24,7 +22,6 @@ class HTTPAuthorizationCredentials:
decoded: dict[str, object] | None = ...,
) -> None: ...
class ClerkHTTPBearer:
def __init__(
self,
@@ -32,6 +29,4 @@ class ClerkHTTPBearer:
auto_error: bool = ...,
add_state: bool = ...,
) -> None: ...
async def __call__(self, request: Request) -> HTTPAuthorizationCredentials | None: ...