This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch ht/playgrand
in repository https://gitbox.apache.org/repos/asf/tsfile.git


The following commit(s) were added to refs/heads/ht/playgrand by this push:
     new 79761161 fix issue
79761161 is described below

commit 79761161fd21527661cdb893ab42e856eb086ec5
Author: HTHou <[email protected]>
AuthorDate: Fri Jul 12 16:54:47 2024 +0800

    fix issue
---
 python/tsfile/tsfile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/tsfile/tsfile.py b/python/tsfile/tsfile.py
index 2ac66a7e..3e92f052 100644
--- a/python/tsfile/tsfile.py
+++ b/python/tsfile/tsfile.py
@@ -107,7 +107,7 @@ def read_tsfile(
     end_time: int = None,
     chunksize: int = None,
     iterator: bool = False,
-) -> DataFrame | tsfile_reader:
+) -> Union[DataFrame, tsfile_reader]:
     if not os.path.exists(file_path):
         raise FileNotFoundError(f"File '{file_path}' does not exist")
     if os.path.getsize(file_path) == 0:

Reply via email to