From 96c14bcc96a6bc7d67768f7eca75545c5cf6129a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Merc=C3=A8=20Mart=C3=ADn=20Prats?= <merce@bigml.com>
Date: Thu, 3 Oct 2024 12:44:15 +0200
Subject: [PATCH] Fixing unimported constant

---
 bigml/dataset.py | 1 -
 bigml/deepnet.py | 5 +----
 bigml/util.py    | 1 +
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/bigml/dataset.py b/bigml/dataset.py
index 5115f7de..2f75aa5e 100644
--- a/bigml/dataset.py
+++ b/bigml/dataset.py
@@ -19,7 +19,6 @@
 
 """
 import os
-import logging
 import subprocess
 
 from bigml.fields import Fields, sorted_headers, get_new_fields
diff --git a/bigml/deepnet.py b/bigml/deepnet.py
index 18c5b404..09370af2 100644
--- a/bigml/deepnet.py
+++ b/bigml/deepnet.py
@@ -40,7 +40,6 @@
 deepnet.predict({"petal length": 3, "petal width": 1})
 
 """
-import logging
 import os
 import warnings
 
@@ -56,7 +55,7 @@
 from bigml.model import parse_operating_point, sort_categories
 from bigml.constants import REGIONS, REGIONS_OPERATION_SETTINGS, \
     DEFAULT_OPERATION_SETTINGS, REGION_SCORE_ALIAS, REGION_SCORE_THRESHOLD, \
-    IMAGE, DECIMALS
+    IMAGE, DECIMALS, IOU_REMOTE_SETTINGS
 
 import bigml.laminar.numpy_ops as net
 import bigml.laminar.preprocess_np as pp
@@ -65,12 +64,10 @@
     sensenet_logging()
     from sensenet.models.wrappers import create_model
     from bigml.images.utils import to_relative_coordinates
-    from bigml.constants import IOU_REMOTE_SETTINGS
     LAMINAR_VERSION = False
 except Exception:
     LAMINAR_VERSION = True
 
-LOGGER = logging.getLogger('BigML')
 
 MEAN = "mean"
 STANDARD_DEVIATION = "stdev"
diff --git a/bigml/util.py b/bigml/util.py
index c1131a0f..6d81a847 100644
--- a/bigml/util.py
+++ b/bigml/util.py
@@ -28,6 +28,7 @@
 import random
 import ast
 import datetime
+import logging
 
 from urllib.parse import urlparse
 from unidecode import unidecode