Skip to content

Commit

Permalink
Merge branch 'transport/compress-zip' into stashing/more-types
Browse files Browse the repository at this point in the history
  • Loading branch information
khsrali committed Feb 6, 2025
2 parents 87a1dda + fbc50af commit 47dcee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/aiida/transports/plugins/ssh_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import glob
import os
from pathlib import Path, PurePath
from typing import Optional
from typing import Optional, Union

import asyncssh
import click
Expand Down Expand Up @@ -767,7 +767,7 @@ async def copytree_async(
async def compress_async(
self,
format: str,
remotesources: TransportPath | list[TransportPath],
remotesources: Union[TransportPath, list[TransportPath]],
remotedestination: TransportPath,
rootdir: TransportPath,
overwrite: bool = True,
Expand Down
6 changes: 3 additions & 3 deletions src/aiida/transports/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ def glob0(self, dirname, basename):
def compress(
self,
format: str,
remotesources: TransportPath | list[TransportPath],
remotesources: Union[TransportPath, list[TransportPath]],
remotedestination: TransportPath,
rootdir: TransportPath,
overwrite: bool = True,
Expand Down Expand Up @@ -1453,7 +1453,7 @@ async def glob_async(self, pathname: TransportPath):
async def compress_async(
self,
format: str,
remotesources: TransportPath | list[TransportPath],
remotesources: Union[TransportPath, list[TransportPath]],
remotedestination: TransportPath,
rootdir: TransportPath,
overwrite: bool = True,
Expand Down Expand Up @@ -1507,7 +1507,7 @@ class BlockingTransport(Transport):
def compress(
self,
format: str,
remotesources: TransportPath | list[TransportPath],
remotesources: Union[TransportPath, list[TransportPath]],
remotedestination: TransportPath,
rootdir: TransportPath,
overwrite: bool = True,
Expand Down

0 comments on commit 47dcee9

Please sign in to comment.