# questions


03/20/2024, 7:45 PM
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 for more information. warnings.warn( However, when I tried to follow the link provided in the warning message (, 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!

Chris Schopp

03/20/2024, 8:16 PM
I think this will work:
Copy code
primary_key: [version]
dataframe_type: pandas
      layer: raw reporting
👍🏼 1
👍 1

Nero Okwa

03/21/2024, 5:52 PM
CC @Ravi Kumar Pilla, also can we update this with the latest link.
👍 1