Seth Stokes
03/07/2025, 8:18 PMError: Type requirement mismatch.
Expected irm:<class 'irm2.api.ice_risk_model_api.IceRiskModel'>
got <irm2.api.ice_risk_model_api.IceRiskModel object at 0x00000191729D64B0>:<class 'irm2.api.ice_risk_model_api.IceRiskModel'> instead.Elijah Ben Izzy
03/07/2025, 9:41 PMElijah Ben Izzy
03/07/2025, 9:41 PMElijah Ben Izzy
03/07/2025, 9:42 PMissubclassSeth Stokes
03/07/2025, 10:11 PMElijah Ben Izzy
03/07/2025, 10:14 PMSeth Stokes
03/11/2025, 11:52 PMSeth Stokes
03/18/2025, 2:25 PMv1.51.1 to v1.87.0 to be able to use the NoEdgeAndInputTypeChecking and am now getting this type error. Is this correct?
@config.when(execution="parallel")
def account_to_query(accounts: List[str]) -> Parallelizable[str]:
for acct in accounts:
yield acct
@config.when(execution="parallel")
def search_params(cob_date: datetime, account_to_query: str) -> dict:
...
Error
ValueError: Error: search_params is expecting account_to_query:<class 'str'>, but found account_to_query:hamilton.htypes.Parallelizable[str].
Hamilton does not consider these types to be equivalent.