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

TypeError: register() got an unexpected keyword argument 'meta'

Open YizhanLin opened this issue 3 years ago • 3 comments

Hi there, I just want to have a try by using the servier register class. please see my code below. master=consul.Consul() `master.agent.service.register(name="Service1",service_id="222",tags=["tag1"],meta={"1":'s'}) But it said : TypeError: register() got an unexpected keyword argument 'meta' BRGS Yizhan

YizhanLin avatar Apr 06 '22 04:04 YizhanLin

master version works fine, but 1.1.0 does not contain this meta code, it would be awesome if someone could release next version with this...

rexopl avatar Feb 22 '23 13:02 rexopl

Late but : There's a fork here You may want to check it out. It's heavily used in our company and we hope we get more users to benefit from the community feedback

mbrulatout avatar Mar 14 '24 09:03 mbrulatout

Thanks, for now I found there is python-consul2 which works fine :)

rexopl avatar Mar 14 '24 10:03 rexopl