Relaxed Resolver Raising Error
Hi @c0fec0de, thanks for the fantastic library! Running v`2.12.1` installed via conda/mamba and getting the following error:
```python
top = Node("top", parent=None)
sub0 = Node("sub0", parent=top)
relaxedresolver = Resolver('name', relax=True)
relaxedresolver.get(top, "sub2") # Returns None (meets expectations)
relaxedresolver.get(top, "sub2/sub3")
*** AttributeError: 'NoneType' object has no attribute 'children'
```
I would have expected from the docs that this return `None` because of the relaxed resolution?
Thanks again!
0 条评论