Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
µEYc@sXddlZddlZddlmZddlmZdZdefd„ƒYZdS(iÿÿÿÿN(t
positional(t_utilstOptcBsŒeZdZeƒed	ed	d	d	d	ed	d„	ƒZd„Zd„Z	d„Z
d„Zed„ƒZ
ed„ƒZed„ƒZRS(
sÍAn option required by an authentication plugin.

    Opts provide a means for authentication plugins that are going to be
    dynamically loaded to specify the parameters that are to be passed to the
    plugin on initialization.

    The Opt specifies information about the way the plugin parameter is to be
    represented in different loading mechanisms.

    When defining an Opt with a - the - should be present in the name
    parameter. This will automatically be converted to an _ when passing to the
    plugin initialization. For example, you should specify::

        Opt('user-domain-id')

    which will pass the value as `user_domain_id` to the plugin's
    initialization.

    :param str name: The name of the option.
    :param callable type: The type of the option. This is a callable which is
        passed the raw option that was loaded (often a string) and is required
        to return the parameter in the type expected by __init__.
    :param str help: The help text that is shown along with the option.
    :param bool secret: If the parameter is secret it should not be printed or
        logged in debug output.
    :param str dest: the name of the argument that will be passed to __init__.
        This allows you to have a different name in loading than is used by the
        __init__ function. Defaults to the value of name.
    :param keystoneauth1.loading.Opt: A list of other options that are
        deprecated in favour of this one. This ensures the old options are
        still registered.
    :type opt: list(Opt)
    :param default: A default value that can be used if one is not provided.
    :param str metavar: The <metavar> that should be printed in CLI help text.
    :param bool required: If the option is required to load the plugin. If a
        required option is not present loading should fail.
    :param str prompt: If the option can be requested via a prompt (where
        appropriate) set the string that should be used to prompt with.
    cCsÓt|ƒstdƒ‚n|dkr<|jddƒ}n||_||_||_||_|	|_||_	|dkr„gn||_
||_||_|
|_
|j
|_g|_d|_d|_dS(Nstype must be callablet-t_(tcallablet	TypeErrortNonetreplacetnamettypethelptsecrettrequiredtdestt
deprecatedtdefaulttmetavartprompttdeprecated_optstdeprecated_for_removaltsample_defaulttgroup(tselfR	R
RRRRRRR
R((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt__init__As$											cCsd|jS(s,Return string representation of option name.s	<Opt: %s>(R	(R((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt__repr__cscCsƒtjƒ}g|jD]}|j|jƒ^q}|jd|jd|jd|jd|jd|j	d|j
d|d|jƒS(	NR	R
RRR
RRR(Rtget_oslo_configRt
DeprecatedOptR	RR
RRR
RR(RtcfgtoR((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt_to_oslo_optgs(					cCs¸t|ƒt|ƒko·|j|jko·|j|jko·|j|jko·|j|jko·|j|jko·|j|jko·|j|jko·|j|jko·|j|jkS(s.Define equality operator on option parameters.(	R
R	RRR
RRRR(Rtother((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt__eq__tscCs|j|ƒS(s0Define inequality operator on option parameters.(R (RR((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt__ne__ƒscCstj|g|jƒS(N(t	itertoolstchainR(R((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt	_all_opts‡scCs!g|jD]}d|j^q
S(Ns--os-%s(R$R	(RR((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt
argparse_args‹scCsPxF|jD];}tjjd|jjddƒjƒƒ}|r
|Sq
W|jS(NsOS_%sRR(R$tostenvirontgetR	RtupperR(RRtv((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pytargparse_defaults
+N(t__name__t
__module__t__doc__RtstrRtFalseRRRR R!tpropertyR$R%R+(((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyRs$'		
		(sOpt(R"R&Rtkeystoneauth1.loadingRt__all__tobjectR(((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/opts.pyt<module>
s