diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2022-07-30 22:26:31 +0300 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2022-07-30 22:26:31 +0300 |
commit | 0bc26e22b458ec0f013c467ef6206130257d03be (patch) | |
tree | 429ba941a1208241402b7a6696c009610dedf3c9 /src/apscheduler/schedulers | |
parent | d59ce8d6a7b5f88ad38fd91f2f8bb92ee1f632ba (diff) | |
download | apscheduler-0bc26e22b458ec0f013c467ef6206130257d03be.tar.gz |
Made the apscheduler.structures module private and re-exported its code
Diffstat (limited to 'src/apscheduler/schedulers')
-rw-r--r-- | src/apscheduler/schedulers/async_.py | 4 | ||||
-rw-r--r-- | src/apscheduler/schedulers/sync.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/apscheduler/schedulers/async_.py b/src/apscheduler/schedulers/async_.py index ca8ab37..cbe8887 100644 --- a/src/apscheduler/schedulers/async_.py +++ b/src/apscheduler/schedulers/async_.py @@ -22,7 +22,8 @@ from .._exceptions import ( JobLookupError, ScheduleLookupError, ) -from ..abc import AsyncDataStore, AsyncEventBroker, Job, Schedule, Subscription, Trigger +from .._structures import Job, JobResult, Schedule, Task +from ..abc import AsyncDataStore, AsyncEventBroker, Subscription, Trigger from ..context import current_scheduler from ..datastores.memory import MemoryDataStore from ..eventbrokers.async_local import LocalAsyncEventBroker @@ -35,7 +36,6 @@ from ..events import ( ScheduleUpdated, ) from ..marshalling import callable_to_ref -from ..structures import JobResult, Task from ..workers.async_ import AsyncWorker _microsecond_delta = timedelta(microseconds=1) diff --git a/src/apscheduler/schedulers/sync.py b/src/apscheduler/schedulers/sync.py index c3e9207..162e6b9 100644 --- a/src/apscheduler/schedulers/sync.py +++ b/src/apscheduler/schedulers/sync.py @@ -22,6 +22,7 @@ from .._exceptions import ( JobLookupError, ScheduleLookupError, ) +from .._structures import Job, JobResult, Schedule, Task from ..abc import DataStore, EventBroker, Trigger from ..context import current_scheduler from ..datastores.memory import MemoryDataStore @@ -35,7 +36,6 @@ from ..events import ( ScheduleUpdated, ) from ..marshalling import callable_to_ref -from ..structures import Job, JobResult, Schedule, Task from ..workers.sync import Worker _microsecond_delta = timedelta(microseconds=1) |