From 3da69e792479ca81a4716d515d43ddbed758119d Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Mon, 25 Mar 2024 14:59:57 +0100 Subject: [PATCH] chore: regen examples --- .../smart_contracts/helpers/util.py | 8 -------- .../smart_contracts/helpers/util.py | 8 -------- .../smart_contracts/helpers/util.py | 8 -------- .../smart_contracts/helpers/util.py | 8 -------- 4 files changed, 32 deletions(-) delete mode 100644 examples/generators/production_puya_smart_contract_python/smart_contracts/helpers/util.py delete mode 100644 examples/generators/production_puya_smart_contract_typescript/smart_contracts/helpers/util.py delete mode 100644 examples/generators/starter_puya_smart_contract_python/smart_contracts/helpers/util.py delete mode 100644 examples/generators/starter_puya_smart_contract_typescript/smart_contracts/helpers/util.py diff --git a/examples/generators/production_puya_smart_contract_python/smart_contracts/helpers/util.py b/examples/generators/production_puya_smart_contract_python/smart_contracts/helpers/util.py deleted file mode 100644 index 6cf7e5b..0000000 --- a/examples/generators/production_puya_smart_contract_python/smart_contracts/helpers/util.py +++ /dev/null @@ -1,8 +0,0 @@ -from pathlib import Path - - -def find_app_spec_file(output_dir: Path) -> str | None: - for file in output_dir.iterdir(): - if file.is_file() and file.suffixes == [".arc32", ".json"]: - return file.name - return None diff --git a/examples/generators/production_puya_smart_contract_typescript/smart_contracts/helpers/util.py b/examples/generators/production_puya_smart_contract_typescript/smart_contracts/helpers/util.py deleted file mode 100644 index 6cf7e5b..0000000 --- a/examples/generators/production_puya_smart_contract_typescript/smart_contracts/helpers/util.py +++ /dev/null @@ -1,8 +0,0 @@ -from pathlib import Path - - -def find_app_spec_file(output_dir: Path) -> str | None: - for file in output_dir.iterdir(): - if file.is_file() and file.suffixes == [".arc32", ".json"]: - return file.name - return None diff --git a/examples/generators/starter_puya_smart_contract_python/smart_contracts/helpers/util.py b/examples/generators/starter_puya_smart_contract_python/smart_contracts/helpers/util.py deleted file mode 100644 index 6cf7e5b..0000000 --- a/examples/generators/starter_puya_smart_contract_python/smart_contracts/helpers/util.py +++ /dev/null @@ -1,8 +0,0 @@ -from pathlib import Path - - -def find_app_spec_file(output_dir: Path) -> str | None: - for file in output_dir.iterdir(): - if file.is_file() and file.suffixes == [".arc32", ".json"]: - return file.name - return None diff --git a/examples/generators/starter_puya_smart_contract_typescript/smart_contracts/helpers/util.py b/examples/generators/starter_puya_smart_contract_typescript/smart_contracts/helpers/util.py deleted file mode 100644 index 6cf7e5b..0000000 --- a/examples/generators/starter_puya_smart_contract_typescript/smart_contracts/helpers/util.py +++ /dev/null @@ -1,8 +0,0 @@ -from pathlib import Path - - -def find_app_spec_file(output_dir: Path) -> str | None: - for file in output_dir.iterdir(): - if file.is_file() and file.suffixes == [".arc32", ".json"]: - return file.name - return None