These two return the same results.
>>> ls("project/assets/{item}/{task}")
>>> ls("project/assets/{task}/{item}")
So why have keywords in there at all?
>>> ls("project/assets/{}/{}")
And if I'm only including a single key in data, wouldn't I only have to pass that key to the pattern?
>>> ls("project/assets/{}/{item}", data={"item": "value"})
On that note, couldn't we do positional arguments?
ls("project/assets/{0}/{1}", data=["value"]) # Search first
ls("project/assets/{0}/{1}", data=[None, "value"]) Search second
These two return the same results.
So why have keywords in there at all?
And if I'm only including a single key in data, wouldn't I only have to pass that key to the pattern?
On that note, couldn't we do positional arguments?