diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2022-08-17 00:39:49 +0300 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2022-08-17 00:39:49 +0300 |
commit | cb56624154fa69ddafb82349a465419aacac1caa (patch) | |
tree | dceeec9884916bb77977f09a1f0fabf8b22fc972 /src/apscheduler/marshalling.py | |
parent | de722a1b8985cf6308ba602e8e7b8bab21349448 (diff) | |
download | apscheduler-cb56624154fa69ddafb82349a465419aacac1caa.tar.gz |
Formatted all code to fit within Black's 88 column limit
Diffstat (limited to 'src/apscheduler/marshalling.py')
-rw-r--r-- | src/apscheduler/marshalling.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/apscheduler/marshalling.py b/src/apscheduler/marshalling.py index 0398fa7..357a973 100644 --- a/src/apscheduler/marshalling.py +++ b/src/apscheduler/marshalling.py @@ -80,8 +80,9 @@ def callable_to_ref(func: Callable) -> str: """ Return a reference to the given callable. - :raises SerializationError: if the given object is not callable, is a partial(), lambda or - local function or does not have the ``__module__`` and ``__qualname__`` attributes + :raises SerializationError: if the given object is not callable, is a partial(), + lambda or local function or does not have the ``__module__`` and + ``__qualname__`` attributes """ if isinstance(func, partial): @@ -103,8 +104,8 @@ def callable_from_ref(ref: str) -> Callable: """ Return the callable pointed to by ``ref``. - :raises DeserializationError: if the reference could not be resolved or the looked up object is - not callable + :raises DeserializationError: if the reference could not be resolved or the looked + up object is not callable """ if ":" not in ref: |