Skip to content

Gracefully handle GCS default client error#90

Merged
kaitj merged 1 commit into
mainfrom
maint/cloud-import
May 21, 2026
Merged

Gracefully handle GCS default client error#90
kaitj merged 1 commit into
mainfrom
maint/cloud-import

Conversation

@kaitj
Copy link
Copy Markdown
Contributor

@kaitj kaitj commented May 21, 2026

GCS default client setup can error out if dependencies is not available. This is currently only true because b2t can be installed with only the s3 dependency. S3 dependencies are always guranteed if s3 or cloud dependencies are installed

Closes #87

GCS default client setup can error out if dependencies is not available.
This is currently only true because b2t can be installed with only the s3 dependency.
S3 dependencies are always guranteed if s3 or cloud dependencies are installed
@github-actions
Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py90100% 
__main__.py69888%101, 110, 135, 137–138, 164, 168, 172
_entities.py112199%129
_indexing.py212597%150, 159–160, 409, 447
_logging.py31487%30, 37, 39–40
_metadata.py48491%39–40, 66, 71
_pathlib.py21576%16–17, 19–20, 22
_version.py110100% 
pybids
   __init__.py40100% 
   _bidsfile.py381365%71–73, 77–79, 83–85, 89–91, 95
   _layout.py1564571%63, 72, 81, 104, 114–115, 118, 140–141, 156–157, 173–174, 177–181, 186, 188–189, 192–193, 228, 233, 241, 322–324, 389–394, 396, 399–404, 406, 462, 482
   _utils.py13561%47–50, 52
TOTAL7249087% 

Tests Skipped Failures Errors Time
100 1 💤 0 ❌ 0 🔥 9.813s ⏱️

@kaitj
Copy link
Copy Markdown
Contributor Author

kaitj commented May 21, 2026

Patch fixing error raised from cloud imports

@kaitj kaitj merged commit 493e7fe into main May 21, 2026
5 checks passed
@kaitj kaitj deleted the maint/cloud-import branch May 21, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handling of cloud library errors

1 participant