wooden-spring-14915
10/25/2022, 6:45 PMastonishing-secretary-34860
10/25/2022, 6:45 PMInitialization:
'bytes' object has no attribute 'get'
Traceback (most recent call last):
File "/app/databuilder/models.py", line 89, in process
connection.extract(databuilder_job=self)
File "/app/integration/connections/base.py", line 529, in extract
self.extract_metadata()
File "/app/integration/connections/dbt/dbt.py", line 387, in extract_metadata
self._extract_manifest_metadata()
File "/app/integration/connections/dbt/dbt.py", line 80, in _extract_manifest_metadata
for table_node, manifest_node in manifest.get("nodes", {}).items():
AttributeError: 'bytes' object has no attribute 'get'
breezy-breakfast-2643
10/25/2022, 6:46 PMelegant-house-93198
astonishing-secretary-34860
10/25/2022, 9:07 PMastonishing-secretary-34860
10/27/2022, 3:55 PMcareful-balloon-73032
10/27/2022, 8:01 PMresponse = <http://requests.post|requests.post>(
"<https://api.secoda.co/integration/dbt/manifest/>",
files={
"manifest_file": open(
f"{os.getcwd()}/sources/{dataset}/target/manifest.json", "rb"
)
},
data={
"integration": <my_integration_id>,
},
headers=headers,
)
returns a 500 response. Even if I try to supply the file manually to the integration via the web UI, the extraction runs but nothing from dbt appears anywherecareful-balloon-73032
10/27/2022, 8:02 PM"integration_id"
but the endpoint requires "integration"
elegant-house-93198
dazzling-tent-2342
11/02/2022, 9:03 AMbreezy-breakfast-2643
11/07/2022, 4:34 PMdazzling-tent-2342
11/07/2022, 4:40 PMbreezy-breakfast-2643
11/07/2022, 5:04 PMelegant-house-93198
elegant-house-93198