-
Notifications
You must be signed in to change notification settings - Fork 113
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
CLI command kedro viz build added #1697
Conversation
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
…o-viz into feature/cli-build # Conflicts: # package/kedro_viz/integrations/deployment/base_deployer.py # package/tests/test_integrations/test_base_deployer.py
# Conflicts: # RELEASE.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome work @jitu5! 🌟
The implementation looks great just left a minor comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some small comments, but generally the implementation looks very neat to me 🙂
|
||
```bash | ||
kedro viz build | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have some docs explaining how to view this build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, in another PR we will focus on the build docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is a really nice implementation and very close to what I had in mind. It should be relative straightforward to expand the deploy command and add other targets from here.
Great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one minor comment, but otherwise this looks great! 👍 ⭐
return S3Deployer(region, bucket_name) | ||
if platform == "local": | ||
return LocalDeployer() | ||
raise ValueError("Invalid platform specified") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be useful to add what the value of "platform" given was, so it's easier to debug. E.g. "Invalid platform bla
specified"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing !
Description
Resolves #1615. Add
kedro viz build
to build directory of local Kedro Viz instance with static data.Development notes
Adopted this design pattern with the flexibility to easily extend to other cloud platforms like Azure and GCP in the future.
QA notes
pip install -e package
cd demo-project
kedro viz build
Checklist
RELEASE.md
file