From 041a73aea5057eedc5746d05160cebc3d6e491a3 Mon Sep 17 00:00:00 2001 From: Cory Grinstead Date: Fri, 14 Jun 2024 15:04:46 -0500 Subject: [PATCH] [BUG]: ide completions for expr namespaces (#2374) closes https://github.com/Eventual-Inc/Daft/issues/2366 image --- daft/expressions/expressions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daft/expressions/expressions.py b/daft/expressions/expressions.py index fc039b29cf..e57c729226 100644 --- a/daft/expressions/expressions.py +++ b/daft/expressions/expressions.py @@ -27,11 +27,9 @@ if TYPE_CHECKING: from daft.io import IOConfig - # This allows Sphinx to correctly work against our "namespaced" accessor functions by overriding @property to # return a class instance of the namespace instead of a property object. -property = property -if os.getenv("DAFT_SPHINX_BUILD") == "1": +elif os.getenv("DAFT_SPHINX_BUILD") == "1": from typing import Any # when building docs (with Sphinx) we need access to the functions