Kurt Rose
Kurt Rose
oh sorry, I think if you want to be able to do it with just strings, `'foo.*.bar'` is the only way that's the next thing after our current release but...
https://github.com/mahmoud/glom/pull/144
so this would let you do something like ```python Match(And(Point, Switch({ Fields(x=0, y=0): Val("origin"), M(T.x) == M(T.y): Val("line x=y"), Fields(x=0): Val("y axis"), Fields(y=0): Val("x axis"), }, default="other point"))) ``` without...
possibly we could extend delete to support slices? definitely kind of tricky
oh I misunderstood, this is talking about multiple parallel deletes -- not deleting multiple items from the same list probably `*`-paths will help with this :-)
That would be great -- do you have any idea how to go about implementing this? I guess we'd need: 1- an integration point with the type checking library (https://mypy.readthedocs.io/en/stable/extending_mypy.html#current-list-of-plugin-hooks...
If we had a wrapper around the type API which could emulate the real API but return types instead of values that would be a step in the right direction...
huh, actually with https://github.com/mahmoud/glom/pull/94 about to land -- this could have some very interesting interactions with typing ```python glom(val, Match(Or({str: int}, [int])) ``` That would assert that `val` is either...
oof 50% of that method (6 of 13 lines) is calls to other methods and helper functions hard to follow what's going on there are you saying that this function...
fantastic! I think this could be the start of a great collaboration :-)