anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
60 stars 51 forks source link

Fix timeout: Add timeout parameter on Artifactory constructor too #172

Closed sthiriet closed 2 months ago

sthiriet commented 2 months ago

Description

I forgot to add the timeout parameter to the Artifactory class in my previous pull request. It was only added to the ArtifactoryObject constructor. As a result, we can't initialize an Artifactory instance with a timeout, and it must be set on the artifactory attribute after initialization. This PR adds the timeout parameter to the Artifactory init function, and the timeout should now be usable as described in the documentation.

sorry for the mistake.

Fixes # (issue)

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

No new unit test.

Checklist: