Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kedro with Prefect 2.0 #2698

Closed
mehrzadai opened this issue Jun 17, 2023 · 3 comments
Closed

Kedro with Prefect 2.0 #2698

mehrzadai opened this issue Jun 17, 2023 · 3 comments
Labels
Issue: Feature Request New feature or improvement to existing feature

Comments

@mehrzadai
Copy link

Description

Would you provide an example of using kedro pipelines in Prefect 2 ?

Context

I am able to do it easily with a session in a flow but the problem is logs which will not be available in Prefect's UI.

@mehrzadai mehrzadai added the Issue: Feature Request New feature or improvement to existing feature label Jun 17, 2023
@noklam
Copy link
Contributor

noklam commented Jun 17, 2023

We haven't updated our documentation with Prefect 2.0, but this is something on our radarm I don't have a working example here but maybe I can help guide you towards it. Would you be able to share your setup how do you make it work?

If possible can I ask you to join slack.kedro.org? It will be easier to respond there.

@astrojuanlu
Copy link
Member

Duplicate of gh-2431, please upvote that issue and let's continue the conversation there.

@astrojuanlu astrojuanlu closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2023
@mehrzadai
Copy link
Author

Hi, actually I configured it out and I think it is useful to share.
It is actually the most ideal integration you can consider in your infra design and it is so easy with prefect 2:-
All pipelines are configured in kedro and running in prefect with just an easy session request.
all I had to configure was to read logs in prefect UI.
I have configured the logging.yml with a prefect handler :

  prefect_api:
      level: 0
      class: prefect.logging.handlers.APILogHandler

That is it !
@astrojuanlu : #2431 will be the place.

@jmalovera10 jmalovera10 mentioned this issue Jun 26, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Feature Request New feature or improvement to existing feature
Projects
None yet
Development

No branches or pull requests

3 participants