d3m.deprecate module

class d3m.deprecate.Context(function, argument, filename, module, lineno)[source]

Bases: tuple

argument[source]

Alias for field number 1

filename[source]

Alias for field number 2

function[source]

Alias for field number 0

lineno[source]

Alias for field number 4

module[source]

Alias for field number 3

d3m.deprecate.arguments(*deprecated_arguments) → Callable[source]

A decorator which issues a warning if any of the deprecated_arguments is being passed to the wrapped function.