In this example: <https://docs.kedro.org/en/stable...
# questions
g
In this example: https://docs.kedro.org/en/stable/extend_kedro/plugins.html#project-context I see that
_get_project_metadata
does not get called. Is it relevant to this example?
Copy code
from pathlib import Path

from kedro.framework.startup import _get_project_metadata
from kedro.framework.session import KedroSession


project_path = Path.cwd()
session = KedroSession.create(project_path=project_path)
context = session.load_context()
Am I assuming that
project_path
would get defined elsewhere?
h
Someone will reply to you shortly. In the meantime, we've found some posts that could help answer your question.
d
Hi Galen, I believe
project_path
doesn’t need to be defined elsewhere, as it simply points to the current working directory.
_get_project_metadata()
isn’t directly relevant here but might have been included to illustrate how project metadata can be retrieved if needed.
👍 1