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

Consul.Agent.Service.register do not have meta parameter

Open naughtyGitCat opened this issue 5 years ago • 4 comments

https://python-consul.readthedocs.io/en/latest/#consul.base.Consul.Agent.Service.register

the doc says have a meta parameter,

and source code have a meta parameter,

but the installed consul in lib/consul does not have a meta parameter

does the package have something error?

naughtyGitCat avatar Aug 03 '20 13:08 naughtyGitCat

Seems like this is an issue with the actual pip package. Not sure if this repo is still maintained or not but you could go around this by adding git+https://github.com/cablehead/python-consul.git into your requirements.txt file for now.

pwyssmuller avatar Oct 29 '20 23:10 pwyssmuller

@pwyssmuller thanks, manually fix it by modifying the file in lib,turn to c# instead of python

naughtyGitCat avatar Oct 30 '20 01:10 naughtyGitCat

This issue still persists, how can it be added in the pip package? Would reinstalling it solve the error?

rakshitcgupta avatar Jan 01 '21 09:01 rakshitcgupta

Does anyone know on how to update the pip package so that this error is solved (code already in master)?

rakshitcgupta avatar Jan 14 '21 14:01 rakshitcgupta