When an attachment is uploaded, following warning is issued.
./usr/local/lib/python3.9/site-packages/pysnow/attachment.py:70: ResourceWarning: unclosed file <_io.BufferedReader name='/my/file.txt'>
data = open(file_path, "rb").read()
|
data = open(file_path, "rb").read() |