acryldata/datahub-actions

Datahub actions getting failed for hello_world action, giving PipelineConfig validation error

vijay-jangir opened this issue · 5 comments

I'm trying to follow datahub-actions quick start https://datahubproject.io/docs/actions/ but when i do datahub actions -c hello_world.py i'm getting below error

[2024-04-22 22:33:35,602] INFO     {datahub_actions.cli.actions:80} - DataHub Actions version: 0.0.15
Failed to instantiate Actions Pipeline using config hello_world: 5 validation errors for PipelineConfig
filter
  Field required [type=missing, input_value={'name': 'hello_world', '...{'type': 'hello_world'}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
transform
  Field required [type=missing, input_value={'name': 'hello_world', '...{'type': 'hello_world'}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
action.config
  Field required [type=missing, input_value={'type': 'hello_world'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
datahub
  Field required [type=missing, input_value={'name': 'hello_world', '...{'type': 'hello_world'}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
options
  Field required [type=missing, input_value={'name': 'hello_world', '...{'type': 'hello_world'}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing

datahub version 0.13.1
datahub-actions 0.0.15

Having the exact same issue here. This currently prevents us from updating to the latest version.

Fixed by #114

@hsheth2 any timeline when this will be available in a new Datahub Actions CLI version?

Working through some build issues so not sure when we'll release

As a temporary workaround, you can pip install 'pydantic<2' to fix this issue.