From 2774f463cb2856ca722c2b6727597ff1ea2c7807 Mon Sep 17 00:00:00 2001 From: zaihuaji Date: Mon, 20 Jul 2026 15:08:40 -0500 Subject: [PATCH] rename quasar_multiple_trasnfer to quasar_multiple_transfer with alias; bump version to 3.0.4 --- pyproject.toml | 2 +- src/rda_python_common/pg_file.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a78bdcb..13ddb82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rda_python_common" -version = "3.0.3" +version = "3.0.4" authors = [ { name="Zaihua Ji", email="zji@ucar.edu" }, ] diff --git a/src/rda_python_common/pg_file.py b/src/rda_python_common/pg_file.py index 3e8ec5b..23ccd21 100644 --- a/src/rda_python_common/pg_file.py +++ b/src/rda_python_common/pg_file.py @@ -411,7 +411,7 @@ def local_copy_object(self, tofile, fromfile, bucket = None, meta = None, logact # fromfiles - source file name list, the same format as the tofiles # topoint - target endpoint name, 'gdex-glade', 'gdex-quasar' or 'gdex-quasar-dgdexta' # frompoint - source endpoint name, the same choices as the topoint - def quasar_multiple_trasnfer(self, tofiles, fromfiles, topoint, frompoint, logact = 0): + def quasar_multiple_transfer(self, tofiles, fromfiles, topoint, frompoint, logact = 0): """Transfer multiple files between two Globus endpoints in a single batch task. Builds a JSON batch-transfer spec from parallel source/destination lists @@ -454,6 +454,9 @@ def quasar_multiple_trasnfer(self, tofiles, fromfiles, topoint, frompoint, logac ret = self.FINISH return ret + # backward-compatible alias for the former misspelled name + quasar_multiple_trasnfer = quasar_multiple_transfer + # Copy a file from a Globus endpoint to another # tofile - target file name, leading with /dsnnn.n/ on Quasar and # leading with /data/ or /decsdata/ on local glade disk