Skip to content

Commit fc989c6

Browse files
committed
add missing file
* used for doing something minimally useful when the image is run outside of Prefect
1 parent 2bbf8da commit fc989c6

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

test.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from __future__ import annotations
2+
3+
import sys
4+
5+
6+
def test(stuff=""):
7+
if stuff:
8+
print(f"test: {stuff}") # noqa: T201
9+
else:
10+
print("test: EMPTY") # noqa: T201
11+
12+
13+
if __name__ == "__main__":
14+
if len(sys.argv) > 1:
15+
test(sys.argv[1])
16+
else:
17+
test()

0 commit comments

Comments
 (0)