get_kwarg_names#

deeptrack.utils.get_kwarg_names(function: Callable) List[str]#

Retrieve the names of the keyword arguments accepted by a function.

It retrieves the names of the keyword arguments accepted by function as a list of strings.

Parameters#

functionCallable

The function whose keyword argument names are to be retrieved.

Returns#

List[str]

A list of names of keyword arguments the function accepts.