The type of tie_fwd_bkwd_edges used to be Union[bool, Set[int]], but JSON doesn't support sets, so this cannot be supplied on the command line, nor serialized into a JSON file. Hence, I change Set to List, and convert the parameter value into a set internally.
The type of
tie_fwd_bkwd_edges
used to beUnion[bool, Set[int]]
, but JSON doesn't support sets, so this cannot be supplied on the command line, nor serialized into a JSON file. Hence, I changeSet
toList
, and convert the parameter value into a set internally.