def METHOD_NAME(self, server):
    """Creates an inventory service and registers it in the server.
    Args:
        server (object): Server to register service to.
    Returns:
        object: The instantiated gRPC service for inventory.
    """
    service = GrpcInventory(
        inventory_api=inventory.Inventory(
            self.config))
    inventory_pb2_grpc.add_InventoryServicer_to_server(service, server)
    return service