<@U04S8PLJWMT> How do I define a python library re...
# ask-ai
k
@kapa.ai How do I define a python library requirement for a manifest only connector that uses a custom extractor class?
k
For manifest-only connectors in Airbyte that use a custom extractor class (such as a custom Python implementation for record extraction), the knowledge sources do not provide explicit instructions on how to define or include additional Python library requirements (dependencies) for these connectors. The documentation does specify that manifest-only connectors must use the
airbyte/source-declarative-manifest
base image, but it does not mention a mechanism for specifying or installing extra Python dependencies (such as via
requirements.txt
,
setup.py
, or
pyproject.toml
) for manifest-only connectors. The ability to define dependencies is well-documented for Python-based connectors, which must use Poetry for dependency management, but this requirement does not extend to manifest-only connectors according to the available documentation[Manifest-only connectors must use source-declarative-manifest as their base image](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging). If you need to use a custom Python class (e.g., for a custom extractor) in a manifest-only connector, and that class requires additional libraries, the current documentation does not describe a supported way to declare or install those dependencies for manifest-only connectors. You may need to consider converting your connector to a Python connector, where dependency management is supported via Poetry, or consult the Airbyte community for potential workarounds. Summary: There is no documented way to define Python library requirements for manifest-only connectors using custom extractor classes in the current Airbyte documentation. If this is a blocker, you may want to submit a feature request or seek guidance from the Airbyte community. [Manifest-only connectors must use source-declarative-manifest as their base image](https://docs.airbyte.com/platform/1.7/contributing-to-airbyte/resources/qa-checks#-packaging) [CustomRecordExtractor reference](https://docs.airbyte.com/platform/1.7/connector-development/config-based/understanding-the-yaml-file/reference#/definitions/CustomRecordExtractor)