Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion slkspec/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
from pathlib import Path

import pyslk
from fsspec.spec import AbstractFileSystem
from pyslk import pyslk as pslk

Expand Down Expand Up @@ -107,7 +108,7 @@ def cat_file(self, path, start=None, end=None, touch=False):
return f

def _get_file(self, lpath, rpath, **kwargs):
pslk.slk_retrieve(rpath, lpath)
pyslk.retrieve(rpath, lpath, preserve_path=False, skip_exists=True)

def _open(
self,
Expand Down