From 2a1927677c421066cb583fc6707386d69566935e Mon Sep 17 00:00:00 2001 From: Pete Jemian Date: Tue, 17 Dec 2024 15:39:08 -0600 Subject: [PATCH] MNT typos --- apsbss/core.py | 4 ++-- docs/source/apsbss.rst | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apsbss/core.py b/apsbss/core.py index c5988c3..961310a 100644 --- a/apsbss/core.py +++ b/apsbss/core.py @@ -331,7 +331,7 @@ def to_dict(self) -> dict: return dict(self._raw) @property - def _users(self) -> object: + def _users(self) -> list: """Return a list of all users, as 'User' objects.""" return [User(u) for u in self._raw["experimentUsers"]] @@ -504,7 +504,7 @@ def to_dict(self) -> dict: return dict(self._raw) @property - def _users(self) -> object: + def _users(self) -> list: """Return a list of all users, as 'User' objects.""" return [User(u) for u in self._raw["experimenters"]] diff --git a/docs/source/apsbss.rst b/docs/source/apsbss.rst index da9369f..7ac8a94 100644 --- a/docs/source/apsbss.rst +++ b/docs/source/apsbss.rst @@ -280,21 +280,21 @@ Such as: .. code-block:: bash $ apsbss now 19-ID-D -Proposal(s): beam line 19-ID-D, 2024-12-17 12:08:19.891573-06:00 -== === ===== === ======= ===== -id run start end user(s) title -== === ===== === ======= ===== -== === ===== === ======= ===== - -ESAF(s): sector 19, 2024-12-17 12:08:19.891573-06:00 -====== ======== ====== ========== ========== ==================== ======================================== -id status run start end user(s) title -====== ======== ====== ========== ========== ==================== ======================================== -276922 Approved 2024-3 2024-11-22 2024-12-19 Wieghold,Mercado ... 19-ID-A,C,D Technical Commissioning -276575 Approved 2024-3 2024-10-31 2024-12-19 Wieghold,Lai,Luo,... 19-ID-C,D,E Operations Commissioning -276558 Approved 2024-3 2024-10-25 2024-12-19 Lai,Guerrero,Luo,... 19-ID-A Temporary Technical Commissio... -275933 Approved 2024-3 2024-10-24 2024-12-19 Wieghold,Luo,Mase... 19-ID-A Operations Commissioning -====== ======== ====== ========== ========== ==================== ======================================== + Proposal(s): beam line 19-ID-D, 2024-12-17 12:08:19.891573-06:00 + == === ===== === ======= ===== + id run start end user(s) title + == === ===== === ======= ===== + == === ===== === ======= ===== + + ESAF(s): sector 19, 2024-12-17 12:08:19.891573-06:00 + ====== ======== ====== ========== ========== ==================== ======================================== + id status run start end user(s) title + ====== ======== ====== ========== ========== ==================== ======================================== + 276922 Approved 2024-3 2024-11-22 2024-12-19 Wieghold,Mercado ... 19-ID-A,C,D Technical Commissioning + 276575 Approved 2024-3 2024-10-31 2024-12-19 Wieghold,Lai,Luo,... 19-ID-C,D,E Operations Commissioning + 276558 Approved 2024-3 2024-10-25 2024-12-19 Lai,Guerrero,Luo,... 19-ID-A Temporary Technical Commissio... + 275933 Approved 2024-3 2024-10-24 2024-12-19 Wieghold,Luo,Mase... 19-ID-A Operations Commissioning + ====== ======== ====== ========== ========== ==================== ======================================== To get details on a specific proposal or ESAF, see the subcommand for each.