Skip to content

Commit

Permalink
feat(dataset): use posix mv command sematics when adding with destina…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
m-alisafaee committed Jan 30, 2022
1 parent 84edc2d commit 7102147
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 197 deletions.
5 changes: 3 additions & 2 deletions renku/core/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"""Renku exceptions."""

import os
from typing import List
from pathlib import Path
from typing import List, Union

import click

Expand Down Expand Up @@ -106,7 +107,7 @@ def __init__(self, repository):
class ProtectedFiles(RenkuException):
"""Raise when trying to work with protected files."""

def __init__(self, ignored):
def __init__(self, ignored: List[Union[Path, str]]):
"""Build a custom message."""
super(ProtectedFiles, self).__init__(
"The following paths are protected as part of renku:"
Expand Down

0 comments on commit 7102147

Please sign in to comment.