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:
Feanil Patel
2024-03-15 12:29:26 -04:00
parent 6ea63da969
commit 6fb59639af

View File

@@ -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):