Files
ServerSync/lib/questionary/prompts/__pycache__/password.cpython-314.pyc

48 lines
2.4 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
9<><39>i<EFBFBD><00><00>f<00>^RIHt^RIHt^RIHt^RIHt^RIHt^RI H
t
RR]R3R R
llt R#) <0B>)<01>Any)<01>Optional)<01>Style)<01>DEFAULT_QUESTION_PREFIX<49><01>text)<01>Question<6F>Nc<00><><00>V^8<>dQhR\R\R\R\R\\,R\R\/#)<08><00>message<67>default<6C>validate<74>qmark<72>style<6C>kwargs<67>return)<05>strrrrr )<01>formats"<22>C/tmp/pip-target-wqrk2shd/lib/python/questionary/prompts/password.py<70> __annotate__r
sR<00><00>3<06>3<06> <10>3<06> <10>3<06><12>3<06> <0F> 3<06>
<14>E<EFBFBD>?<3F> 3<06> <12> 3<06><0E>3<06>c <04>8<00>\P!WW#V3RR/VB#)aLA text input where a user can enter a secret which won't be displayed on the CLI.
This question type can be used to prompt the user for information
that should not be shown in the command line. The typed text will be
replaced with ``*``.
Example:
>>> import questionary
>>> questionary.password("What's your secret?").ask()
? What's your secret? ********
'secret42'
.. image:: ../images/password.gif
This is just a really basic example, the prompt can be customised using the
parameters.
Args:
message: Question text.
default: Default value will be returned if the user just hits
enter.
validate: Require the entered value to pass a validation. The
value can not be submitted until the validator accepts
it (e.g. to check minimum password length).
This can either be a function accepting the input and
returning a boolean, or an class reference to a
subclass of the prompt toolkit Validator class.
qmark: Question prefix displayed in front of the question.
By default this is a ``?``.
style: A custom color and style for the question parts. You can
configure colors as well as font types for different elements.
Returns:
:class:`Question`: Question instance, ready to be prompted (using ``.ask()``).
<EFBFBD> is_passwordTr)r rrrrrs&&&&&,r<00>passwordr
s-<00><00>b <10>9<EFBFBD>9<EFBFBD><0F>(<28>5<EFBFBD> <06>>B<> <06>FL<46> <06>r) <0C>typingrr<00> questionaryr<00>questionary.constantsr<00>questionary.promptsr<00>questionary.questionr r<00>rr<00><module>r"s/<00><01><16><1B><1D>9<>$<24>)<29>
<16><18>(<28>!<21> 3<06>3r