MCPcopy Create free account
hub / github.com/dask/dask / __dir__

Method __dir__

dask/dataframe/dask_expr/_collection.py:4166–4173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4164 return elemwise
4165
4166 def __dir__(self):
4167 o = set(dir(type(self)))
4168 o.update(self.__dict__)
4169 o.update(set(dir(expr.Expr)))
4170 for accessor in ["cat", "str"]:
4171 if not hasattr(self._meta, accessor):
4172 o.remove(accessor)
4173 return list(o)
4174
4175 def __contains__(self, item):
4176 raise NotImplementedError(

Callers

nothing calls this directly

Calls 2

setClass · 0.85
removeMethod · 0.80

Tested by

no test coverage detected