Skip to content

Commit

Permalink
fix: Support custom key prefixes for multi-model
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Jun 20, 2024
1 parent a89be94 commit ac8bb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/batch_exports/s3_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_allowed_template_variables(inputs) -> dict[str, str]:
"year": f"{export_datetime:%Y}",
"data_interval_start": inputs.data_interval_start,
"data_interval_end": inputs.data_interval_end,
"table": "events",
"table": inputs.batch_export_model.name if inputs.batch_export_model is not None else "events",
}


Expand Down

0 comments on commit ac8bb35

Please sign in to comment.