Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def s3fs_cleanup():
# clear cache so we get a clean slate every time we instantiate a S3FileSystem
yield
S3FileSystem.cachable = False
def s3fs_cleanup():
# clear cache so we get a clean slate every time we instantiate a S3FileSystem
yield
S3FileSystem.cachable = False
def s3fs_cleanup():
# clear cache for clean mocked s3 bucket each time
yield
S3FileSystem.cachable = False
def s3fs_cleanup():
# clear cache so we get a clean slate every time we instantiate a S3FileSystem
yield
S3FileSystem.cachable = False
def s3fs_cleanup():
# clear cache so we get a clean slate every time we instantiate a S3FileSystem
yield
S3FileSystem.cachable = False