Traceback (most recent call last):


 "yarGen.py", line 2288, in <module>

save(good_json, strings_db)


 "yarGen.py", line 1870, in save

file.write(json.dumps(object))


 "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/gzip.py", line 276, in write

data = memoryview(data)
TypeError: memoryview: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "testcase.py", line 41, in <module>

main(host=args.host, port=args.port)


 "testcase.py", line 22, in main

client.create_database(dbname)


 "C:\Python\lib\site-packages\influxdb\client.py", line 579, in create_database

method="POST")
TypeError: query() got an unexpected keyword argument 'method'
