Asking about vs code sugession in methods
Hello everyone who is developing this library, i have a question, see when i write any code with faker's methods like in this case i am using .word but here i got the sugession as arguments value = ...
why i got ..., i wish i got as it has the default value like
i wish in the vs code sugession it will show
words(nb: int = 3, ext_word_list: List[str] | None = None, part_of_speech: str | None = None, unique: bool = False) → List[str]
it should shows the default value as shows in the docs, why it is using the ... in this.
i want to know why is this , and any way to impliment this in the librarry or any sugession why you have not changes this.
i means to say suppose i make a class, when i am making the instance of it,
it shows the sugession with the value i have assign with this.
i am asking like this sugession to shows in vs code for the faker library's methods, how we can impliment this, or how i can help this, any sugession
These autocompletions stem from the typing information provided by faker, where it is common to replace actual values with placeholders (an ellipsis). For this to display the actual values, the typing stub generator would have to be adapted.
i dont get it, is this the cause of the faker library didnot add this functionality, or i manually need to do something so that it will show the real value in the functions calling when i am calling this.
Did you understand what is this i need to do to see the values of the argumens or we need to do chnages in the faker library.
i means to do a way so that it will not shows ...
The autocompletion of your IDE uses the typing stubs provided by Faker, which uses the placeholder (ellipsis) for the default values instead of the real ones. To get the actual values, the typing stub generation script of Faker needs to be adapted.
If you are not familiar with the terms I have been referring to, please consider researching them yourself.
This issue is stale because it has been open for 30 days with no activity.