question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add complete Kedro plugin example

See original GitHub issue

Description

I’m trying to create a Kedro plugin and it took me a long time to figure out that a plugin is a separate package that exists outside of any Kedro project. I kept modifying ‘setup.py’ within my Kedro project, following the JSON example in the documentation, only to find that the kedro to_json command didn’t do anything. In retrospect it now makes sense that kedro plugins are separate python packages, but this is not obvious to new users from the documentation.

Context

New users would benefit from a more complete Kedro plugin example.

Possible Implementation

Add more detail to the Kedro plugin tutorial. Also add a complete plugin example as its own repository, similar to the kedro-examples repo.

Checklist

Include labels so that we can categorise your issue:

  • Add a “Component” label to the issue
  • Add a “Priority” label to the issue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
njgernercommented, Jun 26, 2019

Our teams use the Docker functionality to schedule batch-processed runs of Kedro pipelines. Do you have an example of your workflow that you could show us?

@yetudada it’s going to depend heavily on how exactly the Kedro-Airflow plugin works. My expectation is the tool will build an Airflow DAG out of the pipelines where each node is an operator.

If that is the case then we’ll be able to throw this in to a typical CI/CD pipeline that will deploy to Airflow running on AWS.

Also, as I write this I realize building out a Kedro-Glue plugin would be useful as well. Converting Kedro pipelines to Glue jobs should be possible via CodeGenNode & related types (https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-etl-script-generation.html).

That being said, thanks for the info, I’ll be on the lookout for Kedro-Airflow.

1reaction
yetudadacommented, Jul 23, 2019

@njgerner The kedro-airflow plugin should be out this week! We’re very excited about it and thank you for raising #57.

I’m going to close this issue because we used #109 to rectify this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add complete Kedro plugin example · Issue #29 - GitHub
I'm trying to create a Kedro plugin and it took me a long time to figure out that a plugin is a separate...
Read more >
Kedro plugins — Kedro 0.18.4 documentation
Here is a simple example of a plugin that prints the pipeline as JSON: kedrojson/plugin.py. import click from kedro.framework.project import pipelines ...
Read more >
Kedro plugins — Kedro 0.17.3 documentation - Read the Docs
Here is a simple example of a plugin that prints the pipeline as JSON: kedrojson/plugin.py. import click from kedro.framework.session import KedroSession ...
Read more >
Kedro plugins — Kedro 0.17.6 documentation - Read the Docs
Here is a simple example of a plugin that prints the pipeline as JSON: kedrojson/plugin.py. import click from kedro.framework.session import KedroSession ...
Read more >
Package an entire Kedro project — Kedro 0.18.4 documentation
This section explains how to build your project documentation, and how to bundle your entire project into a Python package. Kedro also has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found