blueprintpy.cli.args_handler.resolver
テンプレート引数 (blueprintpy.core.argument
に格納する値を解決・代入するパッケージ.
インタフェース Resolver
を基底クラスとし、カスタムテンプレート内で拡張することができます.
モジュール
blueprintpy.cli.args_handler.resolver.base
引数レゾルバの基底クラス
- class blueprintpy.cli.args_handler.resolver.base.Resolver
ベースクラス:
object
- __resolver_type__
引数レゾルバを特定するための名前
- Type
str
- resolvers: Set[Type[Resolver]] = {<class 'blueprintpy.cli.args_handler.resolver.numbers.IntResolver'>, <class 'blueprintpy.cli.args_handler.resolver.string.StringResolver'>, <class 'blueprintpy.cli.args_handler.resolver.numbers.FloatResolver'>, <class 'blueprintpy.cli.args_handler.resolver.lists.ArrayResolver'>}
blueprintpy.cli.args_handler.resolver.lists
リスト形式のデータを代入するresolver
blueprintpy.cli.args_handler.resolver.numbers
数値形式のデータを代入するresolver
blueprintpy.cli.args_handler.resolver.string
文字列形式のデータを代入するresolver