python - How can I pass single options to push/pull of gitpython? -


the signature of many repo-functions includes **kwargs, of documentation says, can pass arguments underlying wrapped git command. however, there no place *args. in order pass flag-like arguments --all. have expected them passed my_remote.pull('all'). so, instance, how pass --all pull function of remote?

the correct way pass <argument>=true part of **kwargs. so, in special case, my_remote.pull(all=true).


Comments