UKBinCollectionData
UKBinCollectionData copied to clipboard
Update sessions to avoid deprecation
Quite a simple one, so good for first time contributors:
Some of the council classes make use of the requests package's session function. Eventually, this will be deprecated in future versions of Python and needs to be changed to a new class constructor.
Basically, anywhere like
s = requests.session()
needs to be changed to
s = requests.Session()