Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
corva-alex-s committed Dec 1, 2023
1 parent 7d9594e commit 1ef1cf3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/modules/ROOT/examples/merging/tutorial001.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from corva import Api, StreamTimeEvent, stream, Cache
from corva import Api # <.>
from corva import Cache, StreamTimeEvent, stream


# imagine we actually have 3 incoming events with 3 records each
Expand Down
3 changes: 2 additions & 1 deletion docs/modules/ROOT/examples/merging/tutorial002.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from corva import Api, ScheduledNaturalTimeEvent, scheduled, Cache
from corva import Api # <.>
from corva import Cache, ScheduledNaturalTimeEvent, scheduled


@scheduled(merge_events=True)
Expand Down
11 changes: 8 additions & 3 deletions tests/unit/test_docs/test_merging.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
from typing import List, Union, Dict
from typing import Dict, List, Union

import pytest

from corva import StreamTimeEvent, ScheduledDataTimeEvent
from corva import ScheduledDataTimeEvent, StreamTimeEvent
from corva.configuration import SETTINGS
from corva.models.scheduled.raw import RawScheduledDataTimeEvent
from corva.models.scheduled.scheduler_type import SchedulerType
from corva.models.stream.log_type import LogType
from corva.models.stream.raw import RawStreamTimeEvent, RawTimeRecord, RawMetadata, RawAppMetadata
from corva.models.stream.raw import (
RawAppMetadata,
RawMetadata,
RawStreamTimeEvent,
RawTimeRecord,
)
from docs.modules.ROOT.examples.merging import tutorial001, tutorial002


Expand Down

0 comments on commit 1ef1cf3

Please sign in to comment.