Skip to content

Commit 9d71b81

Browse files
committed
Release v0.3.2
1 parent 956743e commit 9d71b81

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "akernel"
7-
version = "0.3.1"
7+
version = "0.3.2"
88
description = "An asynchronous Python Jupyter kernel"
99
readme = "README.md"
1010
license = {text = "MIT"}

src/akernel/akernel.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
import json
4-
from typing import cast
4+
from typing import Optional, cast
55

66
import typer
77
from anyio import create_memory_object_stream, create_task_group, run, sleep_forever
@@ -18,7 +18,7 @@
1818
@cli.command()
1919
def install(
2020
mode: str = typer.Argument("", help="Mode of the kernel to install."),
21-
cache_dir: str | None = typer.Option(
21+
cache_dir: Optional[str] = typer.Option(
2222
None, "-c", help="Path to the cache directory, if mode is 'cache'."
2323
),
2424
):
@@ -35,10 +35,10 @@ def install(
3535
@cli.command()
3636
def launch(
3737
mode: str = typer.Argument("", help="Mode of the kernel to launch."),
38-
cache_dir: str | None = typer.Option(
38+
cache_dir: Optional[str] = typer.Option(
3939
None, "-c", help="Path to the cache directory, if mode is 'cache'."
4040
),
41-
connection_file: str | None = typer.Option(None, "-f", help="Path to the connection file."),
41+
connection_file: str = typer.Option(..., "-f", help="Path to the connection file."),
4242
):
4343
akernel = AKernel(mode, cache_dir, connection_file)
4444
run(akernel.start)

0 commit comments

Comments
 (0)