Skip to content

Commit

Permalink
refactor: quote more recursive references (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 29, 2025
1 parent 54b70f6 commit 2f4cfd4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/cloudflare/types/request_tracers/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@

from __future__ import annotations

from typing_extensions import TYPE_CHECKING, List, TypeAlias, TypeAliasType

from ..._compat import PYDANTIC_V2
from typing_extensions import List, TypeAlias

__all__ = ["Trace"]


if TYPE_CHECKING or PYDANTIC_V2:
Trace = TypeAliasType("Trace", List["TraceItem"])
else:
Trace: TypeAlias = List["TraceItem"]
Trace: TypeAlias = List["TraceItem"]

from .trace_item import TraceItem

0 comments on commit 2f4cfd4

Please sign in to comment.