#20 __call_api: Replace private with protected method
Merged by yangl1996. Opened by mbasti.
mbasti/libpagure protected-method  into  master

Download 20.patch

private method makes it harder for developer to inherite from Pagure class
and update it with own methods. There is no need for __call_api to be
private. Is enough to have _call_api which can be used in inherited classes.

rebased

Dependencies have been pushed

Python doesn't really have protected methods (or private) - the underscore is just a convention used to indicate that an API isn't intended to be a public interface (i.e., outsiders shouldn't rely on it being stable/maintained).

Looks fine to me, I just would avoid the word protected (and private) and just describe what the method does. I think you can rely on API users to know the convention of underscores to mean "don't rely on this".

Description updated

rebased

Can we expect a new release as a new pagure version has been deployed?

Merged.

Pull-Request has been merged by yangl1996

v0.9 released. Thank you for all those pull requests :D

you are welcome :)

Could you also release to fedora? Please, pretty please.

It's already there :)

https://admin.fedoraproject.org/pkgdb/package/rpms/python-libpagure/

@sayanchowdhury is the maintainer.

Yes but 0.6 not 0.9 IIUC

Yes.

@sayanchowdhury could you please help update the fedora package? Thanks!

Looking for a way to update the package in fedora repo.

i will go ahead with updating the libpagure package.

Metadata