def file_asset(class_obj: type) ->type:
    """
    Decorator to annotate the FileAsset class. Registers the decorated class
    as the FileAsset known type.
    """
    assert isinstance(class_obj, type), 'class_obj is not a Class'
    global _file_asset_resource_type
    _file_asset_resource_type = class_obj
    return class_obj
