@@ -125,7 +125,10 @@ def init(self) -> "CondaRuntime":
125125 The runtime instance.
126126 """
127127 super ().init ()
128- return self .with_custom_conda ("oci://your_bucket@namespace/object_name" )
128+ return self .with_custom_conda (
129+ "{Path to the custom conda environment. "
130+ "Example: oci://your_bucket@namespace/object_name"
131+ )
129132
130133
131134class ScriptRuntime (CondaRuntime ):
@@ -254,10 +257,10 @@ def init(self) -> "ScriptRuntime":
254257 super ().init ()
255258 return (
256259 self .with_entrypoint (
257- "{Entry point script. For the MLflow will be replaced with the CMD}"
260+ "{Entrypoint script. For MLFlow, it will be replaced with the CMD}"
258261 )
259262 .with_script (
260- "{Path to the script. For the MLFlow will be replaced with path to the project}"
263+ "{Path to the script. For MLFlow, it will be replaced with the path to the project}"
261264 )
262265 .with_argument (key1 = "val1" )
263266 )
@@ -442,12 +445,12 @@ def init(self) -> "PythonRuntime":
442445 """
443446 super ().init ()
444447 return (
445- self .with_working_dir ("{For the MLflow the project folder will be used.}" )
448+ self .with_working_dir ("{For MLflow the project folder will be used.}" )
446449 .with_entrypoint (
447- "{Entry point script. For the MLFlow will be replaced with the CMD}"
450+ "{Entrypoint script. For MLFlow, it will be replaced with the CMD}"
448451 )
449452 .with_script (
450- "{Path to the script. For the MLFlow will be replaced with path to the project}"
453+ "{Path to the script. For MLFlow, it will be replaced with the path to the project}"
451454 )
452455 )
453456
@@ -630,8 +633,8 @@ def init(self) -> "NotebookRuntime":
630633 """
631634 super ().init ()
632635 return self .with_source (
633- uri = "{Path to the source code directory. For the MLFlow will be replaced with path to the project}" ,
634- notebook = "{Entry point notebook. For the MLFlow will be replaced with the CMD}" ,
636+ uri = "{Path to the source code directory. For MLflow, it will be replaced with the path to the project}" ,
637+ notebook = "{Entrypoint notebook. For MLflow, it will be replaced with the CMD}" ,
635638 ).with_exclude_tag ("tag1" )
636639
637640
@@ -751,9 +754,9 @@ def init(self) -> "GitPythonRuntime":
751754 """
752755 super ().init ()
753756 return self .with_source (
754- "{Git URI. For the MLFlow will be replaced with the Project URI}"
757+ "{Git URI. For MLFlow, it will be replaced with the Project URI}"
755758 ).with_entrypoint (
756- "{Entry point script. For the MLflow will be replaced with the CMD}"
759+ "{Entry point script. For MLFlow, it will be replaced with the CMD}"
757760 )
758761
759762
@@ -976,10 +979,12 @@ def init(self) -> "DataFlowRuntime":
976979 self ._spec .pop (self .CONST_ENV_VAR , None )
977980 return (
978981 self .with_script_uri (
979- "{Path to the executable script. For the MLFlow will be replaced with the CMD}"
982+ "{Path to the executable script. For MLFlow, it will be replaced with the CMD}"
983+ )
984+ .with_script_bucket (
985+ "{The object storage bucket to save a script. "
986+ "Example: oci://<bucket_name>@<tenancy>/<prefix>}"
980987 )
981- .with_argument (key1 = "val1" )
982- .with_script_bucket ("oci://<bucket_name>@<tenancy>/<prefix>" )
983988 .with_overwrite (True )
984989 .with_configuration ({"spark.driverEnv.env_key" : "env_value" })
985990 )
0 commit comments