From b353b0897cadb696c0bac1f8406258d1b8d8742b Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 16 Apr 2024 20:16:24 -0400 Subject: [PATCH] add comment --- .../temporal/data_imports/workflow_activities/import_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posthog/temporal/data_imports/workflow_activities/import_data.py b/posthog/temporal/data_imports/workflow_activities/import_data.py index 7fe58877f6067..bd2a9d4cf85ba 100644 --- a/posthog/temporal/data_imports/workflow_activities/import_data.py +++ b/posthog/temporal/data_imports/workflow_activities/import_data.py @@ -124,7 +124,8 @@ async def import_data_activity(inputs: ImportDataActivityInputs) -> Tuple[TSchem elif model.pipeline.source_type == ExternalDataSource.Type.ZENDESK: from posthog.temporal.data_imports.pipelines.zendesk.helpers import zendesk_support - credentials = ZendeskCredentialsToken() # type: ignore + # NOTE: this line errors on CI mypy but not locally. Putting arguments within the function causes the opposite error + credentials = ZendeskCredentialsToken() credentials.token = model.pipeline.job_inputs.get("zendesk_api_key") credentials.subdomain = model.pipeline.job_inputs.get("zendesk_subdomain") credentials.email = model.pipeline.job_inputs.get("zendesk_email_address")