"""Integration adapter; configure Runtime and caller authorization before serving."""
from easyremote import ComputeNode
from listing_check import check_listing

node = ComputeNode(namespace="listing_review")

@node.register
def review_listing(listing: dict) -> dict:
    return check_listing(listing)

if __name__ == "__main__":
    node.serve()
