def get_model_name(instance) -> str:
    """return the full model name of an object in app_label.model_class format"""
    # noinspection PyProtectedMember
    opts = instance._meta
    return f"{opts.app_label}.{opts.model_name}"