Skip to content

Commit

Permalink
Fix typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ekouts committed Jun 18, 2024
1 parent 008725b commit 239a61f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firecrest/AsyncClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ async def compress(
.. warning:: This is available only for FirecREST>=1.16.0
"""
data = {
data: dict[str, str | bool] = {
"targetPath": target_path,
"sourcePath": source_path,
}
Expand Down
2 changes: 1 addition & 1 deletion firecrest/BasicClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def compress(
.. warning:: This is available only for FirecREST>=1.16.0
"""
data = {
data: dict[str, str | bool] = {
"targetPath": target_path,
"sourcePath": source_path
}
Expand Down
8 changes: 7 additions & 1 deletion firecrest/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,13 @@ def submit_compress(
try:
console.print(
client.submit_compress_job(
system, source, destination, job_name, time, jobid, account
machine=system,
source_path=source,
target_path=destination,
job_name=job_name,
time=time,
stage_out_job_id=jobid,
account=account
)
)
except Exception as e:
Expand Down

0 comments on commit 239a61f

Please sign in to comment.