>>> import launchpadlib
>>> lp = launchpadlib.launchpad.Launchpad.login_with('~racb', 'production', 'devel')
>>> lp.git_repositories.getByPath
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 355, in __getattr__
return self.lp_get_parameter(attr)
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 260, in lp_get_parameter
raise KeyError("No such parameter: %s" % param_name)
KeyError: 'No such parameter: getByPath'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 358, in __getattr__
% (self, attr))
AttributeError: <lazr.restfulclient.resource.Collection object at 0x7fd327410780> object has no attribute 'getByPath'