e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
16 lines
334 B
Python
16 lines
334 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
saved_path = os.getcwd()
|
|
os.chdir(Path(__file__).parent)
|
|
|
|
source_folder = Path("../web-classification")
|
|
for file_name in os.listdir(source_folder):
|
|
if not Path(file_name).exists():
|
|
os.symlink(
|
|
source_folder / file_name,
|
|
file_name
|
|
)
|
|
|
|
os.chdir(saved_path)
|