Skip to content

Improvement/user experience#16

Merged
m-peko merged 4 commits into
mainfrom
improvement/user-experience
Aug 21, 2025
Merged

Improvement/user experience#16
m-peko merged 4 commits into
mainfrom
improvement/user-experience

Conversation

@m-peko

@m-peko m-peko commented Aug 21, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

*,
interval_seconds: int = 30,
timeout: float | None = None,
timeout_seconds: int | None = None,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To be consistent with the other resources I'd use the Optional type here

Suggested change
timeout_seconds: int | None = None,
timeout_seconds: Optional[int],

Comment thread src/atlas/resources/results/results.py Outdated
self,
*,
evaluation: Evaluation,
timeout: float | httpx.Timeout | None = DEFAULT_TIMEOUT,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't know if we can use the optional like this, but just in case leaving the option

Suggested change
timeout: float | httpx.Timeout | None = DEFAULT_TIMEOUT,
timeout: Optional[float | httpx.Timeout],

Then the DEFAULT timeout could be set within the method

@m-peko m-peko merged commit 3c501d5 into main Aug 21, 2025
5 checks passed
@m-peko m-peko deleted the improvement/user-experience branch August 21, 2025 12:24
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