You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2021/09/08 21:50:28 UTC
[datasketches-cpp] branch count-sketch-python updated: clean up
imports a bit
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch count-sketch-python
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
The following commit(s) were added to refs/heads/count-sketch-python by this push:
new 55e450d clean up imports a bit
55e450d is described below
commit 55e450d0b7fab345c5026ae6b6a7b137613e4f4d
Author: Jon Malkin <jm...@users.noreply.github.com>
AuthorDate: Wed Sep 8 14:50:17 2021 -0700
clean up imports a bit
---
python/datasketches/__init__.py | 1 -
python/datasketches/count_sketch.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/python/datasketches/__init__.py b/python/datasketches/__init__.py
index 6b87303..a044e7f 100644
--- a/python/datasketches/__init__.py
+++ b/python/datasketches/__init__.py
@@ -1,4 +1,3 @@
-#from .streaming_heap import StreamingHeap
from .count_sketch import CountSketch
try:
diff --git a/python/datasketches/count_sketch.py b/python/datasketches/count_sketch.py
index 47cbf6a..3d3623e 100644
--- a/python/datasketches/count_sketch.py
+++ b/python/datasketches/count_sketch.py
@@ -17,7 +17,7 @@
import numpy as np
from random import randint, seed
-from datasketches.streaming_heap import StreamingHeap
+from .streaming_heap import StreamingHeap
class CountSketch:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org