Skip to content

Commit

Permalink
Testing: Fix type annotation in transfertool (typing.Type -> type)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio authored and bari12 committed Jun 14, 2024
1 parent 1443bd5 commit ba10250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rucio/transfertool/transfertool.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import logging
from abc import ABCMeta, abstractmethod
from typing import TYPE_CHECKING, Any, Optional, Type
from typing import TYPE_CHECKING, Any, Optional

from rucio.common.constants import SUPPORTED_PROTOCOLS
from rucio.core.request import get_request
Expand All @@ -37,7 +37,7 @@ class TransferToolBuilder:
Implements __hash__ and __eq__ to allow using it as key in dictionaries and group transfers
by common transfertool.
"""
def __init__(self, transfertool_class: Type["Transfertool"], **kwargs):
def __init__(self, transfertool_class: type["Transfertool"], **kwargs):
self.transfertool_class = transfertool_class
self.fixed_kwargs = frozenset(kwargs.items())

Expand Down

0 comments on commit ba10250

Please sign in to comment.