all the named agruments of the constructor

I have a class with some named arguments in the constructor. When i create the object the IDE shows me arguments but i cannot make it type then (with the default values) is there a way i can do that?

Here is my class:

class SimpleResponseSchema(JSONSchema):
    def __init__(self, success=True, error_no=0, message=u""):

and what i want is to write o = SimpleResponseSchema(   

and have the arguments.
2 comments
Comment actions Permalink
Hi Momchil! There is View | Parameter info action (Ctrl + P) if I correctly understand what you are looking for.
0
Comment actions Permalink
PyCharm does not provide any shortcut for inserting the default values of the arguments in the code; since they are, well, default, you normally don't need to type them explicitly. Why do you need such a shortcut?
0

Please sign in to leave a comment.