Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

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

Open
YizhanLin opened this issue Apr 6, 2022 · 3 comments
Open

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

YizhanLin opened this issue Apr 6, 2022 · 3 comments

Comments

@YizhanLin
Copy link

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 YizhanLin changed the title TypeError: register() got an unexpected keyword argument 'metas' TypeError: register() got an unexpected keyword argument 'meta' Apr 6, 2022
@rexopl
Copy link

rexopl commented Feb 22, 2023

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...

@mbrulatout
Copy link

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

@rexopl
Copy link

rexopl commented Mar 14, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants