Skip to content

Commit

Permalink
Don't need definition version
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fcampbell committed Sep 13, 2024
1 parent 0afb93e commit 1d7b757
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/snowflake/cli/api/project/definition_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ def convert_project_definition_to_v2(
snowpark_data = convert_snowpark_to_v2_data(pd.snowpark) if pd.snowpark else {}
streamlit_data = convert_streamlit_to_v2_data(pd.streamlit) if pd.streamlit else {}
native_app_data = (
convert_native_app_to_v2_data(
project_root, pd.definition_version, pd.native_app
)
convert_native_app_to_v2_data(project_root, pd.native_app)
if pd.native_app
else {}
)
Expand Down Expand Up @@ -171,7 +169,7 @@ def convert_streamlit_to_v2_data(streamlit: Streamlit) -> Dict[str, Any]:


def convert_native_app_to_v2_data(
project_root, definition_version: str | int, native_app: NativeApp
project_root, native_app: NativeApp
) -> Dict[str, Any]:
def _make_meta(obj: Application | Package):
meta = {}
Expand Down

0 comments on commit 1d7b757

Please sign in to comment.