Skip to content

[Bug]: S3Path is not thread-safe #4

@hugolytics

Description

@hugolytics

Describe the Bug

s3path uses a "global" session, therefore all clients are shared by this session. In a multithreaded environment (such as most data orchestration platforms) this causes errors.

...

when running S3Path in for example a kedro session, the connection to AWS is unstable resulting in end_point resolver errors.

...

Describe your Environment:

  • Operation System: MacOS / Linux
  • What Python: Pypi
  • Python version: 3.10
  • Network environment: cloud

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions