Skip to content

Make azure blob client retry explicit - #169

Merged
arobson-ods merged 5 commits into
developfrom
ar/make-client-retry-explicit
Aug 27, 2026
Merged

arobson-ods merged 5 commits into
developfrom
ar/make-client-retry-explicit

Conversation

@arobson-ods

@arobson-ods arobson-ods commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Overview

This PR addresses issue #85 - Make Azure client retry behaviour explicit rather than rely on (hidden) defaults.

What Changed

Initialisation of Azure BlobServiceClient centralised in ServiceFactory. Variables controlling retry behaviour set explicitly. Values mirror those set by default in the Azure SDK.

Scope decisions

BlobServiceClient supports the context manager protocol so lifecycle could be managed cleanly rather than relying on explicit calls to close(). Considered out of scope for this PR.

@arobson-ods
arobson-ods requested a review from simon-20 August 26, 2026 16:21

@simon-20 simon-20 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @arobson-ods ,

A couple of small things:

  • It needs a run through the linters (tests/integration/test_dataset_update.py hasn't had isort run on it).
  • Could you bump the version in pyproject (in Python projects, they are bumped by hand; in Node on Azure, they are done at the release stage)
  • Could you add a CHANGELOG.md entry.

Preparatory step to centralise initialisation.
Sets the the Azure SDK's default retry behaviour out explicity on the
client.
@arobson-ods
arobson-ods force-pushed the ar/make-client-retry-explicit branch from 5e87fef to 2302e7a Compare August 27, 2026 13:32
@arobson-ods

Copy link
Copy Markdown
Contributor Author

thanks @simon-20 - I've tidied it up.

@arobson-ods
arobson-ods merged commit 8dbd42d into develop Aug 27, 2026
1 check passed
@arobson-ods
arobson-ods deleted the ar/make-client-retry-explicit branch August 27, 2026 15:06
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.

2 participants