Skip to content

Commit 594aef1

Browse files
Rasic2dp-dingzhaohanpre-commit-ci[bot]njzjz
authored
Default Create dp_cloud_server (#526)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved reliability by ensuring necessary directories are created automatically. * **Chores** * Updated dependency formatting for consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: dingzhaohan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jinzhe Zeng <[email protected]>
1 parent 21cf89d commit 594aef1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpdispatcher/contexts/openapi_context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def __init__(
101101
self.storage = Tiefblue()
102102
self.job = Job(client=self.client)
103103
self.jgid = None
104+
os.makedirs(DP_CLOUD_SERVER_HOME_DIR, exist_ok=True)
104105

105106
@classmethod
106107
def load_from_dict(cls, context_dict):

0 commit comments

Comments
 (0)