Skip to content

mesh-2433 changes#184

Merged
james-bradley-nhs merged 13 commits intodevelopfrom
mesh-2433-support-ndrs-in-admin-enpoint
Jul 8, 2025
Merged

mesh-2433 changes#184
james-bradley-nhs merged 13 commits intodevelopfrom
mesh-2433-support-ndrs-in-admin-enpoint

Conversation

@james-bradley-nhs
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@johnwilliams57-nhs johnwilliams57-nhs left a comment

Choose a reason for hiding this comment

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

looks good. would you mind using or removing that constant and adding the types?
cheers.

Comment thread src/mesh_sandbox/common/exceptions.py Outdated
Comment thread src/mesh_sandbox/common/exceptions.py Outdated
Comment thread src/mesh_sandbox/common/exceptions.py Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 7, 2025

☂️ Python Cov

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2930 2717 93% 85% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/mesh_sandbox/common/constants.py 100% 🟢
src/mesh_sandbox/common/exceptions.py 75% 🟢
src/mesh_sandbox/handlers/admin.py 95% 🟢
src/mesh_sandbox/store/serialisation.py 78% 🟢
src/mesh_sandbox/tests/admin.py 100% 🟢
src/mesh_sandbox/tests/helpers.py 97% 🟢
src/mesh_sandbox/views/outbox.py 100% 🟢
TOTAL 92% 🟢

updated for commit: c6978c4 by action🐍

Copy link
Copy Markdown
Contributor

@johnwilliams57-nhs johnwilliams57-nhs left a comment

Choose a reason for hiding this comment

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

great stuff. just one really minor comment on a nullable type

Comment thread src/mesh_sandbox/views/outbox.py Outdated
class UploadChunkV1(BaseModel):
messageID: str = Field(default=None, description="message identifier, as supplied in the request url")
blockID: int = Field(default=None, description="chunk number, as supplied in the request url")
messageID: str = Field(default=None, description="message identifier, as supplied in the request url") # type: ignore
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.

shouldn't this be
messageID: str | None = ...

and same with blockID?

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

@johnwilliams57-nhs johnwilliams57-nhs left a comment

Choose a reason for hiding this comment

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

nice job.

@james-bradley-nhs james-bradley-nhs merged commit 5080662 into develop Jul 8, 2025
7 checks passed
@james-bradley-nhs james-bradley-nhs deleted the mesh-2433-support-ndrs-in-admin-enpoint branch July 8, 2025 15:19
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