File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
veadk/integrations/ve_faas Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1414
1515import json
1616import time
17-
17+ import shutil
18+ from pathlib import Path
19+ from cookiecutter .main import cookiecutter
20+ import veadk .integrations .ve_faas as vefaas
21+ from veadk .version import VERSION
1822import requests
1923import volcenginesdkcore
2024import volcenginesdkvefaas
@@ -319,12 +323,6 @@ def _update_function_code(
319323 f"Start to update VeFaaS function { function_name } with path { path } ."
320324 )
321325
322- import shutil
323- from pathlib import Path
324- from cookiecutter .main import cookiecutter
325- import veadk .integrations .ve_faas as vefaas
326- from veadk .version import VERSION
327-
328326 user_proj_path = Path (path ).resolve ()
329327 template_dir = Path (vefaas .__file__ ).parent / "template"
330328 tmp_dir_name = f"{ user_proj_path .name } _update_{ formatted_timestamp ()} "
You can’t perform that action at this time.
0 commit comments