We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b733fae commit 49a215eCopy full SHA for 49a215e
src/nwp_consumer/internal/handlers/cli.py
@@ -102,10 +102,11 @@ def run(self) -> int:
102
model_adaptor=self.model_adaptor,
103
notification_adaptor=self.notification_adaptor,
104
)
105
+ period: dt.date = dt.date(args.year, args.month, 1)
106
result = service_result.do(
107
consume_result
108
for service in service_result
- for consume_result in service.consume(period=args.init_time)
109
+ for consume_result in service.consume(period=period)
110
111
if isinstance(result, Failure):
112
log.error(f"Failed to archive NWP data: {result!s}")
0 commit comments