Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Mar 28, 2024
1 parent 61adc95 commit 10058cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/temporal/data_imports/external_data_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ async def run_external_data_job(inputs: ExternalDataJobInputs) -> TSchemaTables:

stripe_secret_key = model.pipeline.job_inputs.get("stripe_secret_key", None)
account_id = model.pipeline.job_inputs.get("stripe_account_id", None)
# Cludge: account_id should be checked here too but can deal with nulls
# until we require re update of account_ids in stripe so they're all store
if not stripe_secret_key:
raise ValueError(f"Stripe secret key not found for job {model.id}")
source = stripe_source(
Expand Down

0 comments on commit 10058cc

Please sign in to comment.