Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Apr 17, 2024
1 parent 180f8ab commit b353b08
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b353b08

Please sign in to comment.