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

block[weather]: Remove redundant code #2068

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

bim9262
Copy link
Collaborator

@bim9262 bim9262 commented Jul 10, 2024

Moved combine_forecasts that @Cognoscan just added from nws to be used by all of the backends (now Forecast::new).

Added ForecastAggregateSegment which has the same members as ForecastAggregate, but makes all of the fields Optional since met.no does not promise that they're included in the response.

src/blocks/weather.rs Outdated Show resolved Hide resolved
@bim9262 bim9262 force-pushed the clear_weather branch 2 times, most recently from c612e16 to 495c239 Compare August 11, 2024 18:56
@bim9262
Copy link
Collaborator Author

bim9262 commented Aug 11, 2024

Replaced SmartDefault with Default.
Rebased to fix merge conflict.

@MaxVerevkin MaxVerevkin merged commit 04188c2 into greshake:master Aug 13, 2024
13 checks passed
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