You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically, I thought that AbstractMatchInfo can work with custom URL resolvers in additional to the default UrlDispatcher.
For example, sometimes a traversal-based resolver can look attractive.
The idea has failed for several reasons but the ABC class was not updated.
Please feel free to publish a PR.
When running mypy, I get the error:
error: "AbstractMatchInfo" has no attribute "route" [attr-defined]
From this code:
But, looking at the code, it looks to me like everything is actually returning a
UrlMappingMatchInfo
, which does have this attribute.Would it make sense to just change the return to
UrlMappingMatchInfo
? I can't see why you would get another type returned from this function.The text was updated successfully, but these errors were encountered: