From 562ee6c3164a4d0837e576ed742bf1b9ebaa0787 Mon Sep 17 00:00:00 2001 From: Adam Binford Date: Thu, 16 May 2024 17:02:37 -0400 Subject: [PATCH] Add typing extensions as dependency (#102) --- python/pyproject.toml | 3 +++ python/python/hdfs_native/__init__.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 27e8bde..111abcc 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -12,6 +12,9 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] +dependencies = [ + "typing-extensions" +] [project.urls] repository = "https://github.com/Kimahriman/hdfs-native" diff --git a/python/python/hdfs_native/__init__.py b/python/python/hdfs_native/__init__.py index 61915ec..8e114d3 100644 --- a/python/python/hdfs_native/__init__.py +++ b/python/python/hdfs_native/__init__.py @@ -1,5 +1,5 @@ import io -from typing import Iterator, Optional +from typing import Iterator from typing_extensions import Buffer from ._internal import *