1
0
mirror of synced 2025-12-19 18:14:56 -05:00
Files
airbyte/airbyte-integrations/connectors/source-zendesk-chat/build_customization.py
2024-05-08 08:41:41 -07:00

20 lines
662 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from dagger import Container
async def pre_connector_install(base_image_container: Container) -> Container:
"""This function will run before the connector installation.
We set these environment variable to match what was originally in the Dockerfile.
Disclaimer: I have no idea if these env vars are actually needed.
"""
return base_image_container.with_env_variable("AIRBYTE_IMPL_MODULE", "source_zendesk_chat").with_env_variable(
"AIRBYTE_IMPL_PATH", "SourceZendeskChat"
)