| 
30 | 30 | )  | 
31 | 31 | 
 
  | 
32 | 32 | if TYPE_CHECKING:  | 
33 |  | -    from typing_extensions import NotRequired, Unpack  | 
 | 33 | +    from typing_extensions import Required, Unpack  | 
34 | 34 | 
 
  | 
35 | 35 |     from narwhals.dataframe import DataFrame, LazyFrame  | 
36 | 36 |     from narwhals.series import Series  | 
@@ -108,46 +108,46 @@ class SeriesNever(TypedDict, total=False):  | 
108 | 108 |     allow_series: Literal[False] | None  | 
109 | 109 | 
 
  | 
110 | 110 | 
 
  | 
111 |  | -class SeriesAllow(TypedDict):  | 
112 |  | -    pass_through: NotRequired[bool]  | 
113 |  | -    eager_only: NotRequired[bool]  | 
114 |  | -    series_only: NotRequired[Literal[False]]  | 
115 |  | -    allow_series: Literal[True]  | 
 | 111 | +class SeriesAllow(TypedDict, total=False):  | 
 | 112 | +    pass_through: bool  | 
 | 113 | +    eager_only: bool  | 
 | 114 | +    series_only: Literal[False]  | 
 | 115 | +    allow_series: Required[Literal[True]]  | 
116 | 116 | 
 
  | 
117 | 117 | 
 
  | 
118 |  | -class SeriesOnly(TypedDict):  | 
119 |  | -    pass_through: NotRequired[bool]  | 
120 |  | -    eager_only: NotRequired[bool]  | 
121 |  | -    series_only: Literal[True]  | 
122 |  | -    allow_series: NotRequired[bool | None]  | 
 | 118 | +class SeriesOnly(TypedDict, total=False):  | 
 | 119 | +    pass_through: bool  | 
 | 120 | +    eager_only: bool  | 
 | 121 | +    series_only: Required[Literal[True]]  | 
 | 122 | +    allow_series: bool | None  | 
123 | 123 | 
 
  | 
124 | 124 | 
 
  | 
125 |  | -class EagerOnly(TypedDict):  | 
126 |  | -    pass_through: NotRequired[bool]  | 
127 |  | -    eager_only: Literal[True]  | 
128 |  | -    series_only: NotRequired[bool]  | 
129 |  | -    allow_series: NotRequired[bool | None]  | 
 | 125 | +class EagerOnly(TypedDict, total=False):  | 
 | 126 | +    pass_through: bool  | 
 | 127 | +    eager_only: Required[Literal[True]]  | 
 | 128 | +    series_only: bool  | 
 | 129 | +    allow_series: bool | None  | 
130 | 130 | 
 
  | 
131 | 131 | 
 
  | 
132 |  | -class LazyAllow(TypedDict):  | 
133 |  | -    pass_through: NotRequired[bool]  | 
134 |  | -    eager_only: NotRequired[Literal[False]]  | 
135 |  | -    series_only: NotRequired[Literal[False]]  | 
136 |  | -    allow_series: NotRequired[bool | None]  | 
 | 132 | +class LazyAllow(TypedDict, total=False):  | 
 | 133 | +    pass_through: bool  | 
 | 134 | +    eager_only: Literal[False]  | 
 | 135 | +    series_only: Literal[False]  | 
 | 136 | +    allow_series: bool | None  | 
137 | 137 | 
 
  | 
138 | 138 | 
 
  | 
139 |  | -class EagerLazySeriesAllow(TypedDict):  | 
140 |  | -    pass_through: NotRequired[bool]  | 
141 |  | -    eager_only: NotRequired[Literal[False]]  | 
142 |  | -    series_only: NotRequired[Literal[False]]  | 
143 |  | -    allow_series: Literal[True]  | 
 | 139 | +class EagerLazySeriesAllow(TypedDict, total=False):  | 
 | 140 | +    pass_through: bool  | 
 | 141 | +    eager_only: Literal[False]  | 
 | 142 | +    series_only: Literal[False]  | 
 | 143 | +    allow_series: Required[Literal[True]]  | 
144 | 144 | 
 
  | 
145 | 145 | 
 
  | 
146 |  | -class PassThroughUnknown(TypedDict):  | 
147 |  | -    pass_through: Literal[True]  | 
148 |  | -    eager_only: NotRequired[bool]  | 
149 |  | -    series_only: NotRequired[bool]  | 
150 |  | -    allow_series: NotRequired[bool | None]  | 
 | 146 | +class PassThroughUnknown(TypedDict, total=False):  | 
 | 147 | +    pass_through: Required[Literal[True]]  | 
 | 148 | +    eager_only: bool  | 
 | 149 | +    series_only: bool  | 
 | 150 | +    allow_series: bool | None  | 
151 | 151 | 
 
  | 
152 | 152 | 
 
  | 
153 | 153 | @overload  | 
 | 
0 commit comments