ripe-oxygen-26489
05/03/2023, 7:05 PMlively-cat-88289
05/03/2023, 7:05 PMastonishing-answer-96712
05/05/2023, 5:29 PMripe-oxygen-26489
05/06/2023, 8:57 PMsource:
type: mode
config:
# Coordinates
connect_uri: http://app.mode.com
# Credentials
token: ${mode_token}
password: ${mode_password}
# Options
workspace: ${workspace}
owner_username_instead_of_email: False
api_options:
retry_backoff_multiplier: 2
max_retry_interval: 10
max_attempts: 5
Then these are the first few lines of the log. It continues for a few dozen lines, but I think itβs all due to the Failed to find a registered source for type mode: 'str' object is not callable.
~~~~ Ingestion Logs ~~~~
Obtaining venv creation lock...
Acquired venv creation lock
venv setup time = 0
This version of datahub supports report-to functionality
datahub ingest run -c /tmp/datahub/ingest/b7361313-560f-4e40-b446-f874ce2b5636/recipe.yml --report-to /tmp/datahub/ingest/b7361313-560f-4e40-b446-f874ce2b5636/ingestion_report.json
[2023-05-04 18:40:14,290] INFO {datahub.cli.ingest_cli:173} - DataHub CLI version: 0.10.2
[2023-05-04 18:40:14,323] INFO {datahub.ingestion.run.pipeline:204} - Sink configured successfully. DataHubRestEmitter: configured to talk to http://datahub-gms:8080
[2023-05-04 18:40:14,517] ERROR {datahub.entrypoints:195} - Command failed: Failed to find a registered source for type mode: 'str' object is not callable
Traceback (most recent call last):
File "/tmp/datahub/ingest/venv-mode-0.10.2/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 119, in _add_init_error_context
yield
File "/tmp/datahub/ingest/venv-mode-0.10.2/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 214, in __init__
source_class = source_registry.get(source_type)
File "/tmp/datahub/ingest/venv-mode-0.10.2/lib/python3.10/site-packages/datahub/ingestion/api/registry.py", line 173, in get
Any ideas? This would be a massive help if I could get this working by Monday πaloof-gpu-11378
05/16/2023, 9:45 PMripe-oxygen-26489
05/16/2023, 9:59 PMripe-oxygen-26489
05/16/2023, 10:00 PM