Skip to content

Commit

Permalink
[BUG]: ide completions for expr namespaces (#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
universalmind303 authored Jun 14, 2024
1 parent b861f4c commit 041a73a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions daft/expressions/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 041a73a

Please sign in to comment.