Skip to content

Commit 5940450

Browse files
committed
fix: missing overload
1 parent d4135ed commit 5940450

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/exxec/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ def get_environment(
217217
) -> PyodideExecutionEnvironment: ...
218218

219219

220+
@overload
221+
def get_environment(
222+
provider: ExecutionEnvironmentStr,
223+
**kwargs: Any,
224+
) -> ExecutionEnvironment: ...
225+
226+
220227
def get_environment( # noqa: PLR0911
221228
provider: ExecutionEnvironmentStr,
222229
**kwargs: Any,

0 commit comments

Comments
 (0)