from httpx import Response from owsclient import OwsClient def get_video_assets_for_products( ows_client: OwsClient, product_ids: set[int], asset_types: set[str] ) -> Response: product_ids_str = ",".join(list(map(str, product_ids))) asset_types_str = ",".join(list(asset_types)) return ows_client.get( "ows-video", f"/assets-bulk?product_ids={product_ids_str}&asset_types={asset_types_str}", )