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 83e5361 commit f281f95Copy full SHA for f281f95
vdirsyncer/storage/dav.py
@@ -3,6 +3,7 @@
3
import urllib.parse as urlparse
4
import xml.etree.ElementTree as etree
5
from inspect import getfullargspec
6
+from inspect import signature
7
8
import requests
9
from requests.exceptions import HTTPError
@@ -427,8 +428,7 @@ def __init__(self, **kwargs):
427
428
self.session_class.init_and_remaining_args(**kwargs)
429
super().__init__(**kwargs)
430
- import inspect
431
- __init__.__signature__ = inspect.signature(session_class.__init__)
+ __init__.__signature__ = signature(session_class.__init__)
432
433
@classmethod
434
def discover(cls, **kwargs):
0 commit comments