- Implement tests for `EbayOAuthClient` to verify authorization URL generation with configured scopes and token reuse logic. - Add tests for `WebhookChallengeHandler` to ensure correct SHA256 response generation and for `WebhookSignatureParser` to validate extraction of known fields from signature strings.
15 lines
324 B
Python
15 lines
324 B
Python
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Generic, TypeVar
|
|
|
|
T = TypeVar("T")
|
|
|
|
|
|
@dataclass(slots=True)
|
|
class ContinuationPage(Generic[T]):
|
|
items: list[T]
|
|
total: int | None = None
|
|
limit: int | None = None
|
|
next_token: str | None = None
|
|
href: str | None = None
|