trains/storage/helper.py
def _normalize_object_name(self, path):
        """ Normalize remote path. Remove any prefix that is already handled by the container """
        if path.startswith(self.base_url):
            path = path[len(self.base_url):]
            if path.startswith('/') and os.name == 'nt':
                path = path[1:]
        if self.scheme in ('s3', _GoogleCloudStorageDriver.scheme):
            path = path.lstrip('/')
        return path
 Normalize remote path. Remove any prefix that is already handled by the container 
Normalize remote path. Remove any prefix that is already handled by the container
Normalize remote path . Remove any prefix that is already handled by the container
def _normalize_object_name(self, path):
        if path.startswith(self.base_url):
            path = path[len(self.base_url):]
            if path.startswith('/') and os.name == 'nt':
                path = path[1:]
        if self.scheme in ('s3', _GoogleCloudStorageDriver.scheme):
            path = path.lstrip('/')
        return path
def _normalize_object_name ( self , path ) : if path . startswith ( self . base_url ) : path = path [ len ( self . base_url ) : ] if path . startswith ( '/' ) and os . name == 'nt' : path = path [ 1 : ] if self . scheme in ( 's3' , _GoogleCloudStorageDriver . scheme ) : path = path . lstrip ( '/' ) return path
Normalize remote path.
Normalize remote path .
""" Normalize remote path. Remove any prefix that is already handled by the container """
self
path