title: How to add non-default parameters to a child method?
body: <p>I have a parent class with default and non-default parameters. The child class has the same method, and I would like to add one more non-default parameter. </p>
  
  <pre><code>class Parent:
      def func(self, arg1, arg2, arg3=1, arg4=2):
          pass
  
  class Child(Parent):
      def func(self, arg1, arg2, arg_new, arg3=1, arg4=2):
          pass
  </code></pre>
  
  <p>Although this code works, PyCharm marks the child`s method and says: "Signature of method 'Child.func()' does not match signature of base method in class 'Parent'."</p>
  
  <p>How can I solve this? What is the best practice for doing this?</p>