@@ -169,11 +169,9 @@ def __init__(self, tapis_client: Tapis):
169169 """
170170 self ._tapis = tapis_client
171171
172- def translate_path_to_uri (self , * args , ** kwargs ) -> str :
172+ def to_uri (self , * args , ** kwargs ) -> str :
173173 """Translate DesignSafe-style paths to Tapis URIs.
174174
175- This is a convenience wrapper around files_module.get_ds_path_uri().
176-
177175 Args:
178176 *args: Positional arguments passed to get_ds_path_uri().
179177 **kwargs: Keyword arguments passed to get_ds_path_uri().
@@ -187,11 +185,9 @@ def translate_path_to_uri(self, *args, **kwargs) -> str:
187185 """
188186 return files_module .get_ds_path_uri (self ._tapis , * args , ** kwargs )
189187
190- def translate_uri_to_path (self , * args , ** kwargs ) -> str :
188+ def to_path (self , * args , ** kwargs ) -> str :
191189 """Translate Tapis URIs to DesignSafe local paths.
192190
193- This is a convenience wrapper around files_module.tapis_uri_to_local_path().
194-
195191 Args:
196192 *args: Positional arguments passed to tapis_uri_to_local_path().
197193 **kwargs: Keyword arguments passed to tapis_uri_to_local_path().
@@ -200,7 +196,7 @@ def translate_uri_to_path(self, *args, **kwargs) -> str:
200196 str: The corresponding DesignSafe local path (e.g., /home/jupyter/MyData/path).
201197
202198 Example:
203- >>> local_path = ds.files.translate_uri_to_path ("tapis://designsafe.storage.default/user/data")
199+ >>> local_path = ds.files.to_path ("tapis://designsafe.storage.default/user/data")
204200 >>> print(local_path) # "/home/jupyter/MyData/data"
205201 """
206202 return files_module .tapis_uri_to_local_path (* args , ** kwargs )
@@ -270,7 +266,7 @@ def __init__(self, tapis_client: Tapis):
270266 """
271267 self ._tapis = tapis_client
272268
273- def list_queues (self , system_id : str , verbose : bool = True ) -> List [Any ]:
269+ def queues (self , system_id : str , verbose : bool = True ) -> List [Any ]:
274270 """List logical queues available on a Tapis execution system.
275271
276272 This is a convenience wrapper around systems_module.list_system_queues().
@@ -379,7 +375,7 @@ def __init__(self, tapis_client):
379375
380376 def generate (
381377 self ,
382- base_command : str ,
378+ command : str ,
383379 sweep : Dict [str , Any ],
384380 directory : str = None ,
385381 * ,
@@ -392,12 +388,12 @@ def generate(
392388 With ``preview=True``, returns a DataFrame of all parameter
393389 combinations — no files are written.
394390
395- Otherwise, expands *base_command * into one command per combination
391+ Otherwise, expands *command * into one command per combination
396392 and writes ``runsList.txt`` and ``call_pylauncher.py`` into
397393 *directory*. Returns the list of generated commands.
398394
399395 Args:
400- base_command : Command template with placeholders matching sweep keys.
396+ command : Command template with placeholders matching sweep keys.
401397 sweep: Mapping of placeholder name to sequence of values.
402398 directory: Directory to write files into (created if needed).
403399 Required when *preview* is ``False``.
@@ -411,7 +407,7 @@ def generate(
411407 *preview* is ``True``.
412408 """
413409 return launcher_module .generate_sweep (
414- base_command , sweep , directory ,
410+ command , sweep , directory ,
415411 placeholder_style = placeholder_style , debug = debug , preview = preview ,
416412 )
417413
@@ -617,23 +613,22 @@ def submit(self, job_request: Dict[str, Any]) -> SubmittedJob:
617613 """
618614 return jobs_module .submit_job_request (self ._tapis , job_request )
619615
620- # --- Management methods remain the same ---
621- def get (self , job_uuid : str ) -> SubmittedJob :
622- """Get a SubmittedJob object for managing an existing job by UUID.
616+ def job (self , job_uuid : str ) -> SubmittedJob :
617+ """Get a SubmittedJob object for an existing job by UUID.
623618
624619 Args:
625620 job_uuid (str): The UUID of an existing Tapis job.
626621
627622 Returns:
628- SubmittedJob: A SubmittedJob object for monitoring and managing the job .
623+ SubmittedJob: A job object for monitoring via ``.monitor()`` .
629624
630625 Example:
631- >>> job = ds.jobs.get ("12345678-1234-1234-1234-123456789abc")
632- >>> status = job.status
626+ >>> job = ds.jobs.job ("12345678-1234-1234-1234-123456789abc")
627+ >>> job.monitor()
633628 """
634629 return SubmittedJob (self ._tapis , job_uuid )
635630
636- def get_status (self , job_uuid : str ) -> str :
631+ def status (self , job_uuid : str ) -> str :
637632 """Get the current status of a job by UUID.
638633
639634 Args:
@@ -646,12 +641,12 @@ def get_status(self, job_uuid: str) -> str:
646641 JobMonitorError: If status retrieval fails.
647642
648643 Example:
649- >>> status = ds.jobs.get_status ("12345678-1234-1234-1234-123456789abc")
650- >>> print(f"Job status: {status}")
644+ >>> ds.jobs.status ("12345678-1234-1234-1234-123456789abc")
645+ 'FINISHED'
651646 """
652647 return jobs_module .get_job_status (self ._tapis , job_uuid )
653648
654- def get_runtime_summary (self , job_uuid : str , verbose : bool = False ):
649+ def runtime_summary (self , job_uuid : str , verbose : bool = False ):
655650 """Print the runtime summary for a job by UUID.
656651
657652 Args:
@@ -660,7 +655,7 @@ def get_runtime_summary(self, job_uuid: str, verbose: bool = False):
660655 Defaults to False.
661656
662657 Example:
663- >>> ds.jobs.get_runtime_summary ("12345678-1234-1234-1234-123456789abc")
658+ >>> ds.jobs.runtime_summary ("12345678-1234-1234-1234-123456789abc")
664659 Runtime Summary
665660 ---------------
666661 QUEUED time: 00:05:30
0 commit comments