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

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

Open
naughtyGitCat opened this issue Aug 3, 2020 · 4 comments
Open

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

naughtyGitCat opened this issue Aug 3, 2020 · 4 comments

Comments

@naughtyGitCat
Copy link

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?

@pwyssmuller
Copy link

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.

@naughtyGitCat
Copy link
Author

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

@rakshitcgupta
Copy link

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

@rakshitcgupta
Copy link

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

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