Python: [BREAKING] Standardize TypeVar naming convention (TName → NameT) (#3770)

* standardized typevar to use suffix T

* addressed copilot comments
This commit is contained in:
Giles Odigwe
2026-02-10 11:34:10 -08:00
committed by GitHub
Unverified
parent 7dccf3a07b
commit a149aaa926
40 changed files with 443 additions and 437 deletions
@@ -26,7 +26,7 @@ from agent_framework_durabletask import (
)
from agent_framework_durabletask._entities import DurableTaskEntityStateProvider
TState = TypeVar("TState")
StateT = TypeVar("StateT")
class MockEntityContext:
@@ -37,8 +37,8 @@ class MockEntityContext:
def get_state(
self,
intended_type: type[TState] | None = None,
default: TState | None = None,
intended_type: type[StateT] | None = None,
default: StateT | None = None,
) -> Any:
del intended_type
if self._state is None: