diff options
Diffstat (limited to 'src/apscheduler/datastores/async_adapter.py')
-rw-r--r-- | src/apscheduler/datastores/async_adapter.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/apscheduler/datastores/async_adapter.py b/src/apscheduler/datastores/async_adapter.py index 736685c..3537772 100644 --- a/src/apscheduler/datastores/async_adapter.py +++ b/src/apscheduler/datastores/async_adapter.py @@ -6,7 +6,7 @@ from functools import partial from typing import Iterable, Optional from uuid import UUID -import attr +import attrs from anyio import to_thread from anyio.from_thread import BlockingPortal @@ -18,12 +18,12 @@ from ..util import reentrant @reentrant -@attr.define(eq=False) +@attrs.define(eq=False) class AsyncDataStoreAdapter(AsyncDataStore): original: DataStore - _portal: BlockingPortal = attr.field(init=False) - _events: AsyncEventBroker = attr.field(init=False) - _exit_stack: AsyncExitStack = attr.field(init=False) + _portal: BlockingPortal = attrs.field(init=False) + _events: AsyncEventBroker = attrs.field(init=False) + _exit_stack: AsyncExitStack = attrs.field(init=False) @property def events(self) -> EventSource: |