-
Notifications
You must be signed in to change notification settings - Fork 530
Open
Copy link
Labels
buguse for describing something not working as expecteduse for describing something not working as expectedconnectors-sdktinyuse to identify tiny feature to develop or bug to fix (< a week to solve)use to identify tiny feature to develop or bug to fix (< a week to solve)
Milestone
Description
Description
Currently, BaseConnectorSettings relies on __main__ path to find config.yml and/or .env but __main__ is not defined when the connector is a python module (when src/__main__.py exists).
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Implement
BaseConnectorSettingsin a connector developed as a python module - Launch the connector
Expected Output
BaseConnectorSettings should find config.yml and/or .env from the entrypoint of a connector.
Actual Output
An error is raised.
Additional information
This fix is required for the migration of the connectors to their "manager supported" version.
Metadata
Metadata
Assignees
Labels
buguse for describing something not working as expecteduse for describing something not working as expectedconnectors-sdktinyuse to identify tiny feature to develop or bug to fix (< a week to solve)use to identify tiny feature to develop or bug to fix (< a week to solve)