-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff5b5bb
commit 01f7b02
Showing
6 changed files
with
92 additions
and
25 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests_integration/test_data/projects/snowpark_glob_patterns/app_1/a.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from __future__ import annotations | ||
from snowflake.snowpark import Session | ||
from b import test_procedure | ||
|
||
|
||
# test import | ||
import syrupy | ||
|
||
|
||
def hello_procedure(session: Session, name: str) -> str: | ||
|
||
return f"Hello {name}" + test_procedure(session) |
10 changes: 10 additions & 0 deletions
10
tests_integration/test_data/projects/snowpark_glob_patterns/app_1/b.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from __future__ import annotations | ||
from snowflake.snowpark import Session | ||
|
||
|
||
# test import | ||
import syrupy | ||
|
||
|
||
def test_procedure(session: Session) -> str: | ||
return "Test procedure" |
1 change: 1 addition & 0 deletions
1
tests_integration/test_data/projects/snowpark_glob_patterns/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
snowflake-snowpark-pythonsyrupy | ||
|
43 changes: 43 additions & 0 deletions
43
tests_integration/test_data/projects/snowpark_glob_patterns/snowflake.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
definition_version: 2 | ||
|
||
mixins: | ||
snowpark_shared: | ||
stage: "dev_deployment" | ||
|
||
entities: | ||
hello_procedure: | ||
type: "procedure" | ||
stage: "stage_a" | ||
identifier: | ||
name: "hello_procedure" | ||
handler: "a.hello_procedure" | ||
signature: | ||
- name: "name" | ||
type: "string" | ||
returns: string | ||
artifacts: | ||
- "app_1/" | ||
|
||
test: | ||
type: "procedure" | ||
handler: "b.test_procedure" | ||
signature: "" | ||
returns: string | ||
artifacts: | ||
- "app_2/" | ||
meta: | ||
use_mixins: | ||
- "snowpark_shared" | ||
|
||
hello_function: | ||
type: "function" | ||
handler: "c.hello_function" | ||
signature: | ||
- name: "name" | ||
type: "string" | ||
returns: string | ||
artifacts: | ||
- "c.py" | ||
meta: | ||
use_mixins: | ||
- "snowpark_shared" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters