def attr_names ( cls ) -> List [ str ] : return [ k for k , v in cls . attr_types ( ) . items ( ) ]
get list of attribute in python
Returns annotated attribute names : return : List [ str ]
def attr_names(cls) -> List[str]:
        """
        Returns annotated attribute names
        :return: List[str]
        """
        return [k for k, v in cls.attr_types().items()]