blackducksoftware / hub-rest-api-python

HUB REST API Python bindings
Apache License 2.0
89 stars 104 forks source link

Fix "Session" is not a known member of module #218

Closed jfcherng closed 2 years ago

jfcherng commented 2 years ago

image

The requests module is not imported in Client.py resulting in tools like Pylance/Pyright can't find Session correctly. Note that os module is not used in Client.py so I replace it with requests.

jfcherng commented 2 years ago

Greetings. I am a little curious about the state of this PR since it's approved and then closed without merged.

gsnyder2007 commented 2 years ago

sorry, not awake yet, just mistakenly hit the close before merge. I'm working on publishing the change now. Should be there by EOD today, just need to finish some testing.