Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tighten the Timeout type to non-optional #538

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Jun 12, 2023

Related Issue(s):

  • Discovered when I was doing a final backwards-comparability-and-API-additions check for Release v0.7.0 #537

Description:

The type itself should be non-optional, and functions/methods should declare whether they need a timeout or whether it's optional.

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

@gadomski gadomski added this to the 0.7.0 milestone Jun 12, 2023
@gadomski gadomski requested a review from jpolchlo June 12, 2023 19:10
@gadomski gadomski self-assigned this Jun 12, 2023
The type itself should be non-optional, and functions/methods should declare whether
they need a timeout or whether it's optional.
@gadomski gadomski force-pushed the tighten-timeout-type branch from c230d0c to abf4f6f Compare June 12, 2023 19:10
@gadomski gadomski mentioned this pull request Jun 12, 2023
4 tasks
@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (25a2743) 88.05% compared to head (abf4f6f) 88.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #538   +/-   ##
=======================================
  Coverage   88.05%   88.05%           
=======================================
  Files          13       13           
  Lines         996      996           
=======================================
  Hits          877      877           
  Misses        119      119           
Impacted Files Coverage Δ
pystac_client/client.py 90.60% <ø> (ø)
pystac_client/stac_api_io.py 91.30% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@jsignell jsignell left a comment

Choose a reason for hiding this comment

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

💯

Copy link
Contributor

@jpolchlo jpolchlo left a comment

Choose a reason for hiding this comment

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

+1

@gadomski gadomski merged commit a65ae48 into main Jun 12, 2023
@gadomski gadomski deleted the tighten-timeout-type branch June 12, 2023 20:31
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.

4 participants