Skip to content

Commit 7cd0274

Browse files
committed
chore: update api.pyi with latest api changes
1 parent a8863a9 commit 7cd0274

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cryosparc/api.pyi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -786,14 +786,14 @@ class JobsNamespace(APINamespace):
786786
...
787787
def export_output_results(
788788
self, project_uid: str, job_uid: str, output_name: str, /, result_names: Optional[List[str]] = ...
789-
) -> str:
789+
) -> Any:
790790
"""
791791
Prepares a job's output for import to another project or instance. Creates a folder in the project directory → exports subfolder,
792792
then links the output's associated files there..
793793
Note that the returned .csg file's parent folder must be manually copied with symlinks resolved into the target project folder before importing.
794794
"""
795795
...
796-
def export(self, project_uid: str, job_uid: str, /) -> Job:
796+
def export_job(self, project_uid: str, job_uid: str, /) -> Any:
797797
"""
798798
Start export for the job into the project's exports directory
799799
"""
@@ -993,18 +993,18 @@ class JobsNamespace(APINamespace):
993993
Removes the given tag a job.
994994
"""
995995
...
996-
def import_job(self, project_uid: str, workspace_uid: str, /, *, exported_job_dir_abs: str) -> Job:
996+
def import_job(self, project_uid: str, workspace_uid: str, /, *, path: str = "") -> Any:
997997
"""
998998
Imports the exported job directory into the project. Exported job
999999
directory must be copied to the target project directory with all its symbolic links resolved.
10001000
By convention, the exported job directory should be located in the project directory → exports subfolder
10011001
"""
10021002
...
10031003
def import_result_group(
1004-
self, project_uid: str, workspace_uid: str, /, *, csg_path: str, lane: Optional[str] = ...
1004+
self, project_uid: str, workspace_uid: str, /, *, lane: Optional[str] = ..., path: str = ""
10051005
) -> Job:
10061006
"""
1007-
Creates and enqueues an import result group job.
1007+
Creates and enqueues an Import Result Group job with the given path
10081008
"""
10091009
...
10101010
def star_job(self, project_uid: str, job_uid: str, /) -> Job:

0 commit comments

Comments
 (0)