anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
55 stars 50 forks source link

Fixes #163; Simple User response from artifactory changed #164

Closed dakky closed 2 months ago

dakky commented 2 months ago

Description

Updates the response to match recent artifactory versions

Fixes #163

Type of change

Please delete options that are not relevant.

How has it been tested ?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

from pyartifactory import Artifactory from pyartifactory.models import FederatedRepository, LocalRepository

import requests requests.packages.urllib3.disable_warnings()

from pprint import pprint

art = Artifactory( url="https://artifactory.qs.mydomain.de/artifactory", auth=("admin", "xxxx"), verify=False, )

users = art.users.list() pprint(users)



## Checklist:

- [x] My PR is ready for prime time! Otherwise use the ["Draft PR" feature](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests)
- [x] All commits have a correct title
- [ ] Readme has been updated
- [x] Quality tests are green (see Codacy)
- [ ] Automated tests are green (see pipeline)