From 1114d1568707cd31d856a6128fbb38a43a6754b9 Mon Sep 17 00:00:00 2001 From: "Natalia.Murycheva" Date: Fri, 29 Nov 2024 18:32:55 +0100 Subject: [PATCH] [PyCharm Tables] PY-77591 Added "is None"/"is not None" conditions to tables' filters #PY-77591 Fixed GitOrigin-RevId: ad48262cab5d46f06b1ee7f72c764ee899f0c926 --- .../pydev/_pydevd_bundle/tables/pydevd_numpy_based.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy_based.py b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy_based.py index aaa30c5e6145..30d418990c29 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy_based.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy_based.py @@ -1,6 +1,14 @@ # Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. import numpy as np import io +try: + import tensorflow as tf +except ImportError: + pass +try: + import torch +except ImportError: + pass TABLE_TYPE_NEXT_VALUE_SEPARATOR = '__pydev_table_column_type_val__' MAX_COLWIDTH = 100000