import typing
import inspect


def method_names(cls: typing.Type) -> typing.List[str]:
    """Get a list of all method names of a Python class"""
    return [t[0] for t in inspect.getmembers(cls, predicate=inspect.isfunction)]