Jakub Kicinski <[email protected]> writes: > Donald points out that the current naive implementation using dicts > breaks if policy is recursive (child nest uses policy idx already > used by its parent). > > Lean more into the NlPolicy class. This lets us "render" the policy > on demand, when user accesses it. If someone wants to do an infinite > walk that's on them :) Show policy info as attributes of the class > and use dict format to descend into sub-policies for extra neatness. > > Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Donald Hunter <[email protected]>
