def _build_default_connector() -> WarehouseAConnector:
"""
Convenience factory used by the registry / playground.
In real life, you'd likely create this from env vars or a config file.
"""
auth = ApiKeyAuth("X-API-Key", "dummy")
actions = WarehouseAActions(
base_url="https://api.warehouse-a.example",
api_key="dummy",
)
return WarehouseAConnector(actions=actions)
hrtech-etl/src/hrtech_etl/connectors/warehouse_a/__init__.py
Line 313 in 27d2310
Simplication: