64#h=ddlmZ d d d Zd S) ) annotationsF received_typestr input_typestrictboolreturnc||ksdSt|trt|tsdStd|dD}td|dD}|r||St ||dkS)aq received_type and input_type are both strings of the form "T1,T2,...". If strict is True, the input_type must contain the received_type. For example, if received_type is "STRING" and input_type is "STRING,INT", this will return True. But if received_type is "STRING,INT" and input_type is "INT", this will return False. If strict is False, the input_type must have overlap with the received_type. For example, if received_type is "STRING,BOOLEAN" and input_type is "STRING,INT", this will return True. Supports pre-union type extension behaviour of ``__ne__`` overrides. TFc3>K|]}|VdSNstrip.0ts AD:\ComfyUI_windows_portable\ComfyUI\comfy_execution\validation.py z&validate_node_input..s*EEqEEEEEE,c3>K|]}|VdSr r rs rrz&validate_node_input.. s*??Aaggii??????rr) isinstancersetsplitissubsetlen intersection)rrrreceived_types input_typess rvalidate_node_inputrs& J & &t mS ) )J1L1LuEEM,?,?,D,DEEEEEN??)9)9#)>)>?????K A&&{333>..{;;<r"sF""""""9>#A#A#A#A#A#A#Ar