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