d3m.deprecate module

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

Bases: tuple

property argument[source]

Alias for field number 1

property filename[source]

Alias for field number 2

property function[source]

Alias for field number 0

property lineno[source]

Alias for field number 4

property module[source]

Alias for field number 3

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

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