MCPcopy
hub / github.com/dask/dask / unsupported_arguments

Function unsupported_arguments

dask/utils.py:881–893  ·  view source on GitHub ↗

Mark unsupported arguments with a disclaimer

(doc, args)

Source from the content-addressed store, hash-verified

879
880
881def unsupported_arguments(doc, args):
882 """Mark unsupported arguments with a disclaimer"""
883 lines = doc.split("\n")
884 for arg in args:
885 subset = [
886 (i, line)
887 for i, line in enumerate(lines)
888 if re.match(rf"^\s*{arg} ?:", line)
889 ]
890 if len(subset) == 1:
891 [(i, line)] = subset
892 lines[i] = f"{line} (Not supported in Dask)"
893 return "\n".join(lines)
894
895
896def _derived_from(

Callers 1

_derived_fromFunction · 0.85

Calls 3

splitMethod · 0.80
matchMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…