tap-google-sheets
tap-google-sheets copied to clipboard
AttributeError: module 'singer.metadata' has no attribute 'get_standard_metadata'
Machine - Ubuntu 20.04 LTS python version - 3.8
ran the following commands. pip install tap-google-sheets tap-google-sheets --config config.json --discover > catalog.json
the config.json contains the following:
{ "refresh_token":"---------", "client_id":"----------", "client_secret":"-------------", "user_agent": "tap-google-sheets (via singer.io)", "start_date": "2019-01-01T00:00:00Z", "spreadsheet_id": "--------------", "range": "A2:E2" }
INFO Authorized, token expires = 2020-08-20 14:57:22.412650
INFO Starting discover
CRITICAL module 'singer.metadata' has no attribute 'get_standard_metadata'
Traceback (most recent call last):
File "/home/owais/anaconda3/envs/singer5/bin/tap-google-sheets", line 8, in <module>
sys.exit(main())
File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/singer/utils.py", line 225, in wrapped
return fnc(*args, **kwargs)
File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/__init__.py", line 49, in main
do_discover(client, spreadsheet_id)
File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/__init__.py", line 26, in do_discover
catalog = discover(client, spreadsheet_id)
File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/discover.py", line 6, in discover
schemas, field_metadata = get_schemas(client, spreadsheet_id)
File "/home/owais/anaconda3/envs/singer5/lib/python3.8/site-packages/tap_google_sheets/schema.py", line 269, in get_schemas
mdata = metadata.get_standard_metadata(
AttributeError: module 'singer.metadata' has no attribute 'get_standard_metadata'