Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to fetch project configuration #49

Open
xavier8854 opened this issue Feb 3, 2022 · 2 comments
Open

Method to fetch project configuration #49

xavier8854 opened this issue Feb 3, 2022 · 2 comments
Assignees

Comments

@xavier8854
Copy link
Collaborator

xavier8854 commented Feb 3, 2022

Hi,
Github won't let me open a MR, so here is the code snippet to get all the key/value pairs for a project's configuration :

    def get_project_config(self, project_name, format="xml"):
        url = "{}/project/{}/config".format(self.API_URL, project_name)
        return self.__get(url, format=format)

Cheers,
Xavier

@emersonyh
Copy link
Collaborator

I also need this option, can we contribute?

@emersonyh
Copy link
Collaborator

@xavier8854 I´ve generated the PR #64 for this, can you review/approve please?

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

No branches or pull requests

2 participants