Project

General

Profile

Actions

Idea #20519

open

Support path-like objects throughout the SDK

Added by Brett Smith over 1 year ago.

Status:
New
Priority:
Low
Assigned To:
-
Category:
SDKs
Target version:
Start date:
Due date:
Story points:
-

Description

To improve SDK ergonomics, methods that take path arguments, like Collection.open, should accept path-like objects like pathlib.Path and friends. This just means calling os.fspath() on them to narrow the type to string/bytes. See PEP 519

No data to display

Actions

Also available in: Atom PDF