Skip to content
Snippets Groups Projects
Commit ceb0b836 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix imports

parent 3903f91b
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1406Fixing pex installation.
Pipeline #10439 passed
......@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with Workspaces. If not, see <https://www.gnu.org/licenses/>.
""" This is the CARTA launcher. """
import arrow
import logging
import math
import os
......@@ -36,7 +37,6 @@ from carta_envoy.connect import (
WorkflowConnect,
)
from carta_envoy.templates import CartaWrapper
from arrow import Arrow
# pylint: disable=E0401, R1705, W0105
......@@ -267,7 +267,7 @@ class CartaLauncher:
self.logger.warning("WARNING: CARTA not running.")
@staticmethod
def _calculate_timeout_date(timeout_minutes: int) -> Arrow:
def _calculate_timeout_date(timeout_minutes: int) -> arrow.Arrow:
"""
Take the timeout of the CARTA session amd use it to calculate the datetime that the session will expire at
......
arrow==1.2.3
dsnparse==0.1.15
pytest
pendulum==2.1.2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment