Issue #5642
closed
Pulp client configuration object instantiation doesn't work correctly
Description
The constructor of the Configuration object does not work as expected:
In [16]: pulpcore.Configuration(username="admin", password="password", host="http://pulp3-sandbox-debian10:80").host
Out[16]: 'http://localhost:24817'
- Triaged changed from No to Yes
- Sprint set to Sprint 61
- Subject changed from Pulp client api is broken to Pulp client configuration object instantiation doesn't work correctly
In [1]: from pulpcore.client import pulpcore
In [2]: pulpcore.Configuration(username="admin", password="password", host="http://pulp3-sandbo
...: x-debian10:80").host
Out[2]: 'http://pulp3-sandbox-debian10:80'
(pulp) [vagrant@pulp3-source-fedora30 pulpcore-client]$ pip list | grep pulp
pulp-file 0.1.0b5.dev0 /home/vagrant/devel/pulp_file
pulp-rpm 3.0.0b8.dev0 /home/vagrant/devel/pulp_rpm
pulp-smash 1!0.7.0
pulpcore 3.0.0rc8.dev0 /home/vagrant/devel/pulpcore
pulpcore-client 0.0.0 /home/vagrant/devel/pulp-openapi-generator/pulpcore-client
pulpcore-plugin 0.1.0rc8.dev0 /home/vagrant/devel/pulpcore-plugin
- Sprint changed from Sprint 61 to Sprint 62
- Sprint changed from Sprint 62 to Sprint 63
- Sprint changed from Sprint 63 to Sprint 64
- Sprint deleted (
Sprint 64)
Removing from sprint since we don't have enough capacity to do right now.
- Status changed from NEW to CLOSED - NOTABUG
I suspect that this is fixed in the latest client.
Also available in: Atom
PDF