From c67ae70083a234fa45234407a4459a3022739c30 Mon Sep 17 00:00:00 2001 From: Emma Turetsky Date: Thu, 12 Dec 2024 16:19:09 -0600 Subject: [PATCH] Overwrote the httpfs _ls_real with ours -- This is to avoid having to create find and walk which would be simply be duplicates of the httpfs find/walk --- src/pelicanfs/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pelicanfs/core.py b/src/pelicanfs/core.py index 35f1c3c..5934b6b 100644 --- a/src/pelicanfs/core.py +++ b/src/pelicanfs/core.py @@ -222,6 +222,9 @@ def __init__( self._mkdir = self.http_file_system._mkdir self._makedirs = self.http_file_system._makedirs + # Overwrite the httpsfs _ls_real call with ours with ours + self.httpFileSystem._ls_real = self._ls_real + # Note this is a class method because it's overwriting a class method for the AbstractFileSystem @classmethod def _strip_protocol(cls, path):