def register_hosting_service(name, cls):
 cls.hosting_service_id = name
 _hosting_service_registry.register(cls)

def register_hosting_service ( name , cls ) : cls . hosting_service_id = name _hosting_service_registry . register ( cls )
register a custom hosting service class .