Skip to content

Commit

Permalink
Add support for annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Dec 4, 2024
1 parent 3cb12b5 commit 14c55b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyter_kernel_client/client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import datetime
import typing as t
from functools import partial
Expand Down
2 changes: 2 additions & 0 deletions jupyter_kernel_client/consoleapp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
import signal
import typing as t
Expand Down
2 changes: 2 additions & 0 deletions jupyter_kernel_client/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#
# BSD 3-Clause License

from __future__ import annotations

import asyncio

from jupyter_core.utils import ensure_async
Expand Down
2 changes: 2 additions & 0 deletions jupyter_kernel_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- https://github.com/jupyter-server/jupyter_server/blame/v2.12.0/jupyter_server/_tz.py
"""

from __future__ import annotations

from datetime import datetime, timedelta, timezone, tzinfo
from typing import Any, List

Expand Down

0 comments on commit 14c55b1

Please sign in to comment.