(
filename_or_obj: T_PathFileOrDataStore,
)
| 364 | |
| 365 | |
| 366 | def _normalize_filename_or_obj( |
| 367 | filename_or_obj: T_PathFileOrDataStore, |
| 368 | ) -> str | ReadBuffer | AbstractDataStore: |
| 369 | if isinstance(filename_or_obj, bytes | memoryview): |
| 370 | return io.BytesIO(filename_or_obj) |
| 371 | else: |
| 372 | return _normalize_path(filename_or_obj) |
| 373 | |
| 374 | |
| 375 | class ScipyBackendEntrypoint(BackendEntrypoint): |
no test coverage detected
searching dependent graphs…