python-firebase icon indicating copy to clipboard operation
python-firebase copied to clipboard

patch() does not have param 'name'

Open adammathias opened this issue 11 years ago • 2 comments

The params for the patch() method do not match the other verbs, like those for GET, DELETE and PUT, which accept 'name' and then use build_endpoint_url().

This forces the caller to compose the path himself, ie partially re-implement build_endpoint_url().

At this point, it would be understandably difficult to insert a param at position 2. Therefore, I am not sure what the ideal solution for you may be.

adammathias avatar Mar 15 '14 19:03 adammathias

I was trying to use patch() and haven't been able to get it to work. adammathias' comment implies that one has to "partially re-implement build_endpoint_url()" to do so, which I'm not bothering to do right now since I don't actually need patch() working at this point, and because I haven't studied the problem enough to know what that solution really means.

But it seems worth making it so that patch() is easily usable.

garyrob avatar Aug 16 '14 20:08 garyrob

It seems not working as I have taken the latest once from pip also

shivdhwaj avatar Jan 12 '18 05:01 shivdhwaj