Skip to content

orm-profiler doesn't exists #14150

Closed Answered by gachdavit
gachdavit asked this question in Q&A
Discussion options

You must be logged in to vote

I was using from metadata.ingestion.api.workflow import Workflow class, instead of from metadata.profiler.api.workflow import ProfilerWorkflow. I updated code. There is an example below and it works.

def metadata_ingestion_workflow():
    workflow_config = json.loads(config)
    # workflow = Workflow.create(workflow_config)
    workflow = ProfilerWorkflow.create(workflow_config)
    workflow.execute()
    workflow.raise_from_status()
    workflow.print_status()
    workflow.stop()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gachdavit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant