Skip to content

Commit

Permalink
Typing: Add type annotations to exporter.py; #6454
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio authored and bari12 committed Mar 21, 2024
1 parent be8b950 commit 3d5c44f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rucio/core/exporter.py
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Any

from rucio.core import distance as distance_module
from rucio.core import rse as rse_module
Expand All @@ -24,7 +24,7 @@


@transactional_session
def export_rses(vo='def', *, session: "Session"):
def export_rses(vo: str = 'def', *, session: "Session") -> dict[str, dict[str, Any]]:
"""
Export RSE data.
Expand All @@ -40,7 +40,7 @@ def export_rses(vo='def', *, session: "Session"):


@transactional_session
def export_data(vo='def', distance=True, *, session: "Session"):
def export_data(vo: str = 'def', distance: bool = True, *, session: "Session") -> dict[str, Any]:
"""
Export data.
Expand Down

0 comments on commit 3d5c44f

Please sign in to comment.