Skip to content

Commit c44c215

Browse files
authored
Fixed report update callback (#228)
1 parent 0073bae commit c44c215

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

horizon/state.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import aiohttp
1313
from fastapi import status
1414
from opal_common.logger import logger
15+
from opal_common.schemas.data import DataUpdateReport
1516
from pydantic import BaseModel, ValidationError
1617

1718
from horizon.config import sidecar_config
@@ -177,7 +178,7 @@ def _build_state_payload(cls, state: PersistentState | None = None) -> dict:
177178
},
178179
}
179180

180-
async def reporter_user_data_handler(self) -> dict[str, Any]:
181+
async def reporter_user_data_handler(self, report: DataUpdateReport) -> dict[str, Any]: # noqa: ARG002
181182
return {
182183
"pdp_instance_id": self.get().pdp_instance_id,
183184
}

0 commit comments

Comments
 (0)