File: mapping.py

package info (click to toggle)
python-s3fs 2026.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: python: 6,138; makefile: 190
file content (7 lines) | stat: -rw-r--r-- 237 bytes parent folder | download
1
2
3
4
5
6
7
from .core import S3FileSystem


def S3Map(root, s3, check=False, create=False):
    """Mirror previous class, not implemented in fsspec"""
    s3 = s3 or S3FileSystem.current()
    return s3.get_mapper(root, check=check, create=create)