You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass the virtual_host_scanner constructor arguments as a dict
With the current implementation, adding a new input parameter is a four
step process:
1. Add its definition to the ArgumentParser instance
2. Change the virtual_host_scanner constructor signature
3. Change the virtual_host_scanner instantiation arguments
4. Set the instance property value within the virtual_host_scanner
By receiving a dict directly as a constructor argument, steps 2 and 3
become unnecessary.
0 commit comments