Skip to content

Commit

Permalink
chore(data-warehouse): dont nest imported data schema (#19364)
Browse files Browse the repository at this point in the history
don't nest data
  • Loading branch information
EDsCODE authored Dec 15, 2023
1 parent 4649e6c commit f899e2f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions posthog/temporal/data_imports/pipelines/stripe/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def stripe_pagination(
break


@dlt.source
@dlt.source(max_table_nesting=0)
def stripe_source(
api_key: str,
endpoints: Tuple[str, ...],
Expand All @@ -97,12 +97,6 @@ def stripe_source(
stripe_pagination,
name=endpoint,
write_disposition="append",
columns={
"metadata": {
"data_type": "complex",
"nullable": True,
}
},
)(
api_key=api_key,
endpoint=endpoint,
Expand Down

0 comments on commit f899e2f

Please sign in to comment.