import typing
import inspect


def get_class_field_names(cls: type) -> typing.List[str]:
    """
    Get class field names, which must be list of `__init__` arguments

    :param cls: class
    :return: list of field names
    """
    return list(inspect.getfullargspec(cls.__init__).args[1:])