https://kedro.org/ logo
#questions
Title
# questions
h

Howard Xu

01/15/2024, 1:14 AM
i ask GPT and it can't be work. src/settings.py from kedro.config import ConfigLoader config_loader = ConfigLoader(conf_source="conf/base") config = config_loader.get("your_project_settings") # 隱藏 show code 內容 config["notebook"]["show_code"] = False
💯 1
😬 2
d

datajoely

01/15/2024, 10:07 AM
hi this is a bit of a hallucination - we don’t support that functionality. It’s not something that has come up before, why do you want to see this in Kedro Viz?
h

Howard Xu

01/15/2024, 11:12 AM
Copy code
We think that normal users do not need to see show code. So we want to create 2 vision viz for different role.
d

datajoely

01/15/2024, 11:38 AM
so I think your only option there is to fork Kedro Viz and remove it yourself
you can create a feature request
but it’s not available today
h

Howard Xu

01/15/2024, 11:43 AM
1.where sholud i create a feature request 2.what is fork Kedro Viz ?
d

datajoely

01/15/2024, 11:43 AM
h

Howard Xu

01/15/2024, 11:44 AM
Thank i will try it
Feature requests link is worng. XD
h

Howard Xu

01/15/2024, 11:46 AM
OK i know what is fork, and where can i find the show code buttom. which file ?
d

datajoely

01/15/2024, 11:46 AM
I’m afraid you’re going to have to dive into the code yourself
h

Howard Xu

01/15/2024, 11:50 AM
OK I will try.
image.png
haha i find it