Hi everyone, I'm currently using Kedro version 0.1...
# questions
e
Hi everyone, I'm currently using Kedro version 0.18.14 along with Kedro-Viz version 6.7.0 in my project. I've encountered the following warning: py.warnings - WARNING. KedroDeprecationWarning: Defining the 'layer' attribute at the top level is deprecated and will be removed in Kedro 0.19.0. Please move 'layer' inside the 'metadata' -> 'kedro-viz' attributes. See https://docs.kedro.org/en/latest/visualisation/kedro-viz_visualisation.html#visualise-layers for more information. warnings.warn( However, when I tried to follow the link provided in the warning message (https://docs.kedro.org/en/latest/visualisation/kedro-viz_visualisation.html#visualise-layers), it seems that the page does not exist. I'm considering migrating to Kedro version 0.19, but I want to make sure I'm prepared for any changes or deprecations. Currently, in my catalog, I'm using the following structure: "{namespace}.db_reporting_selected_variables": type: databricks.ManagedTableDataset table: aa_{namespace}_reporting database: db write_mode: upsert primary_key: [version] dataframe_type: pandas layer: raw reporting Can someone guide me on how to address this warning and provide insights on migrating to Kedro 0.19? Thank you in advance for your help!
c
I think this will work:
Copy code
...
primary_key: [version]
dataframe_type: pandas
metadata:
    kedro-viz:
      layer: raw reporting
👍🏼 1
👍 1
n
CC @Ravi Kumar Pilla, also can we update this with the latest link.
👍 1