fix: Remove deprecated getargspec call.
This function was removed by python 3.11 so update to the alternate call that is the current recommended replacement. https://docs.python.org/3.11/library/inspect.html#inspect.getfullargspec
This commit is contained in:
@@ -57,7 +57,7 @@ class XmlImportData:
|
||||
|
||||
# Extract all argument names used to construct XmlImportData objects,
|
||||
# so that the factory doesn't treat them as XML attributes
|
||||
XML_IMPORT_ARGS = inspect.getargspec(XmlImportData.__init__).args # lint-amnesty, pylint: disable=deprecated-method
|
||||
XML_IMPORT_ARGS = inspect.getfullargspec(XmlImportData.__init__).args
|
||||
|
||||
|
||||
class XmlImportFactory(Factory):
|
||||
|
||||
Reference in New Issue
Block a user