Skip to content

Commit

Permalink
enhance(runtime): refactor runtime dependencies with user original se…
Browse files Browse the repository at this point in the history
…quence (#1445)

refactor runtime dependencies
  • Loading branch information
tianweidut authored Nov 3, 2022
1 parent 4aeaac1 commit 3e37937
Show file tree
Hide file tree
Showing 7 changed files with 887 additions and 272 deletions.
10 changes: 10 additions & 0 deletions client/starwhale/base/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ class ObjectStoreType(Enum):
class DataOriginType(Enum):
NEW = "+"
INHERIT = "~"


@unique
class DependencyType(Enum):
PIP_PKG = "pip_pkg"
PIP_REQ_FILE = "pip_req_file"
CONDA_PKG = "conda_pkg"
CONDA_ENV_FILE = "conda_env_file"
WHEEL = "wheel"
NATIVE_FILE = "native_file"
Loading

0 comments on commit 3e37937

Please sign in to comment.