d3m.deprecate

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, message=None)[source]

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

Return type

Callable

d3m.deprecate.function(message=None)[source]

A decorator which issues a warning if a wrapped function is called.

Return type

Callable