Module Expr Str ImportFrom alias alias alias Import alias Import alias Import alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If CompareIn NameLoad TupleLoad NameLoad NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body With Call NameLoad NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str ListLoad For NameStore NameLoad body If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Str body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Str If CompareIn NameLoad NameLoad body For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareGt Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str NameLoad orelse Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Num Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad If CompareLt AttributeLoad NameLoad attr Call NameLoad Str body If CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str body Delete SubscriptDel SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str orelse If CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Delete SubscriptDel SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str Index Str Str Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Assign NameStore ListComp NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Dict Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad TupleLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num orelse If CompareIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareNotIn Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str attr Str If BoolOpAnd NameLoad CompareNotEq NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str NameLoad orelse If NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body If CompareIn Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Delete SubscriptDel SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str If CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str body Delete SubscriptDel SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Dict If CompareNotIn Str NameLoad body For TupleStore NameStore NameStore ListLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str ListLoad If CompareEq Call NameLoad NameLoad Num body For TupleStore NameStore NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore ListLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse If UnaryOpNot BoolOpAnd AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body If CompareIsNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Index Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Num BinOpMod Str TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call NameLoad Str If UnaryOpNot Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call NameLoad Str Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return If BoolOpAnd AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareNotIn Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Index Str body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad If CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict If CompareNotIn Str NameLoad body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad If CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict If CompareNotIn Str NameLoad body Raise Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str IfExp NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore ListLoad Str Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Delete SubscriptDel SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign SubscriptStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Index Str Index Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler type NameLoad body Pass orelse For NameStore Call AttributeLoad NameLoad attr body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright (c) 2015 Red Hat, Inc
All rights reserved.

This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
 __future__ print_function absolute_import unicode_literals N/A json N/A logging N/A os pkg_resources parse_version N/A N/A N/A urlparse N/A N/A N/A ImportError N/A N/A urllib.parse urlparse osbs.build.manipulate DockJsonManipulator osbs.build.spec CommonSpec ProdSpec SimpleSpec osbs.constants PROD_BUILD_TYPE SIMPLE_BUILD_TYPE PROD_WITHOUT_KOJI_BUILD_TYPE osbs.constants PROD_WITH_SECRET_BUILD_TYPE osbs.constants SECRETS_PATH osbs.exceptions OsbsException OsbsValidationException osbs.utils looks_like_git_hash N/A build_classes N/A N/A logger N/A N/A logging getLogger __name__ register_build_class N/A N/A cls N/A N/A N/A N/A build_classes N/A N/A cls key cls N/A cls N/A BuildRequest N/A object N/A N/A 
    Wraps logic for creating build inputs
     N/A key None __init__ N/A N/A self build_json_store N/A N/A N/A 
        :param build_json_store: str, path to directory with JSON build files
         N/A N/A self spec None N/A N/A self build_json_store build_json_store N/A N/A self build_json None N/A N/A self _template None N/A N/A self _inner_template None N/A N/A self _dj None N/A N/A self _resource_limits None N/A N/A self _openshift_required_version N/A parse_version 0.5.4 N/A set_params N/A N/A self N/A kwargs N/A N/A 
        set parameters according to specification

        :param kwargs:
        :return:
         N/A N/A NotImplementedError N/A set_resource_limits N/A N/A self cpu memory storage N/A None None None N/A N/A N/A N/A self _resource_limits None N/A N/A N/A self _resource_limits N/A N/A N/A cpu None N/A N/A N/A N/A self _resource_limits N/A cpu cpu N/A N/A memory None N/A N/A N/A N/A self _resource_limits N/A memory memory N/A N/A storage None N/A N/A N/A N/A self _resource_limits N/A storage storage N/A set_openshift_required_version N/A N/A self openshift_required_version N/A N/A N/A N/A openshift_required_version None N/A N/A N/A self _openshift_required_version openshift_required_version N/A new_by_type N/A N/A build_name N/A args kwargs N/A N/A Find BuildRequest with the given name. N/A N/A build_name N/A PROD_WITHOUT_KOJI_BUILD_TYPE PROD_WITH_SECRET_BUILD_TYPE N/A N/A build_name PROD_BUILD_TYPE N/A N/A N/A build_class N/A build_classes N/A build_name N/A N/A N/A logger debug Instantiating: %s(%s, %s) N/A build_class __name__ args kwargs N/A N/A build_class args kwargs N/A N/A N/A KeyError N/A N/A N/A RuntimeError N/A N/A Unknown build type '{0}' format build_name N/A staticmethod render N/A N/A self validate N/A True N/A N/A 
        render input parameters into template

        :return: dict, build json
         N/A N/A NotImplementedError N/A build_id N/A N/A self N/A N/A N/A N/A N/A N/A self build_json N/A metadata N/A name N/A property template N/A N/A self N/A N/A N/A N/A N/A self _template None N/A N/A path N/A N/A N/A os path join N/A self build_json_store N/A %s.json N/A self key N/A N/A N/A logger debug loading template from path %s path N/A N/A N/A N/A open path r fp N/A N/A N/A self _template N/A N/A json load fp N/A N/A N/A N/A IOError OSError N/A ex N/A N/A N/A OsbsException N/A Can't open template '%s': %s N/A path N/A repr ex N/A N/A self _template N/A property inner_template N/A N/A self N/A N/A N/A N/A N/A self _inner_template None N/A N/A path N/A N/A N/A os path join N/A self build_json_store N/A %s_inner.json N/A self key N/A N/A N/A logger debug loading inner template from path %s path N/A N/A open path r fp N/A N/A N/A self _inner_template N/A N/A json load fp N/A N/A self _inner_template N/A property dj N/A N/A self N/A N/A N/A N/A N/A self _dj None N/A N/A N/A self _dj N/A DockJsonManipulator N/A self template N/A self inner_template N/A N/A self _dj N/A property is_auto_instantiated N/A N/A self N/A N/A N/A Return True if this BuildConfig will be automatically instantiated when created. N/A triggers N/A N/A N/A N/A self template N/A spec get triggers N/A N/A trigger triggers N/A N/A N/A N/A N/A trigger N/A type ImageChange N/A N/A N/A N/A trigger N/A imageChange N/A from N/A kind ImageStreamTag N/A N/A True N/A False N/A N/A CommonBuild N/A BuildRequest N/A __init__ N/A N/A self build_json_store N/A N/A N/A 
        :param build_json_store: str, path to directory with JSON build files
         N/A N/A N/A N/A super CommonBuild self __init__ build_json_store N/A N/A self spec N/A CommonSpec N/A set_params N/A N/A self N/A kwargs N/A N/A 
        set parameters according to specification

        these parameters are accepted:

        :param git_uri: str, URL of source git repository
        :param git_ref: str, what git tree to build (default: master)
        :param registry_uris: list, URI of docker registry where built image is pushed (str)
        :param source_registry_uri: str, URI of docker registry from which image is pulled
        :param user: str, user part of resulting image name
        :param component: str, component part of the image name
        :param openshift_uri: str, URL of openshift instance for the build
        :param builder_openshift_url: str, url of OpenShift where builder will connect
        :param yum_repourls: list of str, URLs to yum repo files to include
        :param use_auth: bool, use auth from atomic-reactor?
         N/A N/A N/A logger debug setting params '%s' for %s kwargs N/A self spec N/A N/A N/A N/A self spec set_params kwargs N/A render_resource_limits N/A N/A self N/A N/A N/A N/A N/A self _resource_limits None N/A N/A resources N/A N/A N/A N/A self template N/A spec get resources N/A N/A limits N/A N/A resources get limits N/A N/A N/A N/A limits update N/A self _resource_limits N/A N/A resources N/A limits limits N/A N/A N/A N/A self template N/A spec N/A resources resources N/A render_tag_and_push_registries N/A N/A self N/A N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf postbuild_plugins tag_and_push N/A N/A push_conf N/A N/A N/A self dj dock_json_get_plugin_conf postbuild_plugins tag_and_push N/A args N/A N/A push_conf setdefault args N/A N/A registries N/A N/A args setdefault registries N/A N/A placeholder {{REGISTRY_URI}} N/A N/A placeholder registries N/A N/A registry N/A N/A N/A self spec registry_uris value N/A N/A N/A N/A registry uri N/A N/A N/A regdict N/A N/A N/A registries N/A placeholder copy N/A N/A regdict N/A version N/A registry version N/A N/A registries N/A N/A registry docker_uri regdict N/A N/A registries N/A placeholder N/A render_add_yum_repo_by_url N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self spec yum_repourls value None N/A N/A N/A self dj dock_json_has_plugin_conf prebuild_plugins add_yum_repo_by_url N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins add_yum_repo_by_url repourls N/A N/A N/A self spec yum_repourls value N/A N/A N/A N/A self spec proxy value N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins add_yum_repo_by_url inject_proxy N/A N/A N/A self spec proxy value N/A render_check_and_set_rebuild N/A N/A self use_auth N/A None N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf prebuild_plugins check_and_set_rebuild N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins check_and_set_rebuild url N/A N/A N/A self spec builder_openshift_url value N/A N/A use_auth None N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins check_and_set_rebuild use_auth use_auth N/A render_store_metadata_in_osv3 N/A N/A self use_auth N/A None N/A N/A N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins store_metadata_in_osv3 url N/A N/A N/A self spec builder_openshift_url value N/A N/A use_auth None N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins store_metadata_in_osv3 use_auth use_auth N/A N/A N/A RuntimeError N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins store_metadata_in_osv3 url N/A N/A N/A self spec builder_openshift_url value N/A N/A use_auth None N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins store_metadata_in_osv3 use_auth use_auth N/A render N/A N/A self N/A N/A N/A N/A N/A N/A self template N/A metadata N/A name N/A N/A N/A self spec name value N/A N/A N/A self render_resource_limits N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A git N/A uri N/A N/A N/A self spec git_uri value N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A git N/A ref N/A N/A N/A self spec git_ref value N/A N/A N/A len N/A N/A N/A self spec registry_uris value 0 N/A N/A primary_registry_uri N/A N/A N/A N/A N/A self spec registry_uris value N/A 0 docker_uri N/A tag_with_registry N/A N/A {0}/{1} format primary_registry_uri N/A N/A N/A self spec image_tag value N/A N/A N/A N/A N/A N/A self template N/A spec N/A output N/A to N/A name tag_with_registry N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A output N/A to N/A name N/A N/A N/A self spec image_tag value N/A N/A N/A self render_tag_and_push_registries N/A N/A triggers N/A N/A self template N/A spec N/A N/A imagechange N/A N/A N/A N/A N/A self template N/A spec N/A triggers N/A 0 N/A imageChange N/A N/A N/A imagechange N/A from N/A name N/A N/A N/A self spec trigger_imagestreamtag value N/A N/A N/A self render_add_yum_repo_by_url N/A use_auth N/A N/A N/A self spec use_auth value N/A N/A N/A self render_check_and_set_rebuild use_auth use_auth N/A N/A N/A self render_store_metadata_in_osv3 use_auth use_auth N/A N/A N/A self _openshift_required_version N/A parse_version 1.0.6 N/A N/A N/A secrets N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A secrets N/A N/A N/A sourceSecret N/A N/A N/A self template N/A spec N/A source N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A sourceSecret N/A N/A N/A N/A self spec build_imagestream value N/A N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A from N/A kind ImageStreamTag N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A from N/A name N/A N/A N/A self spec build_imagestream value N/A N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A from N/A name N/A N/A N/A self spec build_image value N/A validate_input N/A N/A self N/A N/A N/A N/A N/A N/A self spec validate N/A N/A ProductionBuild N/A CommonBuild N/A N/A key PROD_BUILD_TYPE __init__ N/A N/A self build_json_store N/A kwargs N/A N/A N/A N/A N/A super ProductionBuild self __init__ build_json_store kwargs N/A N/A self spec N/A ProdSpec N/A N/A self scratch False N/A set_params N/A N/A self N/A kwargs N/A N/A 
        set parameters according to specification

        these parameters are accepted:

        :param pulp_secret: str, resource name of pulp secret
        :param pdc_secret: str, resource name of pdc secret
        :param koji_target: str, koji tag with packages used to build the image
        :param kojiroot: str, URL from which koji packages are fetched
        :param kojihub: str, URL of the koji hub
        :param koji_certs_secret: str, resource name of secret that holds the koji certificates
        :param pulp_registry: str, name of pulp registry in dockpulp.conf
        :param nfs_server_path: str, NFS server and path
        :param nfs_dest_dir: str, directory to create on NFS server
        :param sources_command: str, command used to fetch dist-git sources
        :param architecture: str, architecture we are building for
        :param vendor: str, vendor name
        :param build_host: str, host the build will run on or None for auto
        :param authoritative_registry: str, the docker registry authoritative for this image
        :param distribution_scope: str, distribution scope for this image
                                   (private, authoritative-source-only, restricted, public)
        :param use_auth: bool, use auth from atomic-reactor?
        :param git_push_url: str, URL for git push
         N/A N/A N/A N/A self scratch N/A N/A kwargs pop scratch N/A N/A N/A KeyError N/A N/A N/A N/A N/A logger debug setting params '%s' for %s kwargs N/A self spec N/A N/A N/A N/A self spec set_params kwargs N/A set_secret_for_plugin N/A N/A self plugin secret N/A N/A N/A has_plugin_conf N/A N/A N/A self dj dock_json_has_plugin_conf N/A plugin N/A 0 N/A plugin N/A 1 N/A N/A secrets N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A N/A has_plugin_conf N/A N/A secret_path N/A N/A N/A os path join SECRETS_PATH secret N/A N/A N/A logger info Configuring %s secret at %s secret secret_path N/A custom N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A existing N/A secret_mount N/A secret_mount N/A custom N/A secrets N/A N/A N/A secret_mount N/A secretSource N/A name secret N/A existing N/A N/A N/A N/A logger debug secret %s already set N/A plugin N/A 1 N/A N/A N/A N/A N/A custom N/A secrets append N/A secretSource mountPath N/A name secret secret_path N/A N/A N/A N/A self dj dock_json_set_arg N/A plugin N/A secret_path N/A N/A N/A N/A logger debug not setting secret for unused plugin %s N/A plugin N/A 1 N/A N/A N/A N/A plugin N/A 1 N/A pulp_push pulp_sync N/A N/A N/A N/A logger info Configuring %s secret as sourceSecret secret N/A N/A sourceSecret N/A N/A N/A self template N/A spec N/A source N/A N/A N/A OsbsValidationException JSON template does not allow secrets N/A old_secret N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A sourceSecret get name N/A N/A old_secret N/A old_secret secret N/A N/A N/A old_secret startswith {{ N/A N/A N/A OsbsValidationException Not possible to set two different source secrets N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A sourceSecret N/A name secret N/A N/A has_plugin_conf N/A N/A N/A OsbsValidationException cannot set more than one secret unless using OpenShift >= 1.0.6 N/A set_secrets N/A N/A self secrets N/A N/A N/A 
        :param secrets: dict, {(plugin type, plugin name, argument name): secret name}
            for example {('exit_plugins', 'sendmail', 'pdc_secret_path'): 'pdc_secret', ...}
         N/A secret_set False N/A N/A plugin secret N/A N/A secrets items N/A N/A N/A N/A N/A isinstance plugin tuple N/A N/A len plugin 3 N/A N/A N/A ValueError N/A got "%s" as secrets key, need 3-tuple plugin N/A N/A secret None N/A N/A N/A N/A self set_secret_for_plugin plugin secret N/A secret_set True N/A N/A secret_set N/A N/A N/A sourceSecret N/A N/A N/A self template N/A spec N/A source N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A sourceSecret N/A N/A secrets N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A strategy N/A customStrategy N/A secrets N/A remove_tag_and_push_registries N/A N/A tag_and_push_registries version N/A N/A N/A 
        Remove matching entries from tag_and_push_registries (in-place)

        :param tag_and_push_registries: dict, uri -> dict
        :param version: str, 'version' to match against
         N/A registries N/A uri N/A N/A uri regdict N/A N/A tag_and_push_registries items N/A N/A regdict N/A version version N/A registry registries N/A N/A N/A N/A logger info removing %s registry: %s version registry N/A N/A tag_and_push_registries N/A registry N/A staticmethod adjust_for_registry_api_versions N/A N/A self N/A N/A N/A 
        Enable/disable plugins depending on supported registry API versions
         N/A versions N/A N/A N/A self spec registry_api_versions value N/A N/A N/A push_conf N/A N/A N/A self dj dock_json_get_plugin_conf postbuild_plugins tag_and_push N/A tag_and_push_registries N/A N/A push_conf N/A args N/A registries N/A N/A N/A N/A KeyError IndexError N/A N/A tag_and_push_registries N/A N/A N/A v1 versions N/A N/A N/A phase name N/A N/A postbuild_plugins pulp_push N/A N/A N/A N/A logger info removing v1-only plugin: %s name N/A N/A N/A N/A self dj remove_plugin phase name N/A N/A N/A self remove_tag_and_push_registries tag_and_push_registries v1 N/A N/A v2 versions N/A N/A N/A N/A logger info removing v2-only plugin: pulp_sync N/A N/A N/A N/A self dj remove_plugin postbuild_plugins pulp_sync N/A N/A N/A self remove_tag_and_push_registries tag_and_push_registries v2 N/A regdict N/A N/A tag_and_push_registries values N/A N/A N/A version regdict N/A N/A N/A regdict N/A version N/A adjust_for_triggers N/A N/A self N/A N/A N/A 
        Remove trigger-related plugins if no triggers set

        If there are no triggers set, there is no point in running
        the check_and_set_rebuild, bump_release, or import_image plugins.
         N/A triggers N/A N/A N/A N/A self template N/A spec get triggers N/A N/A N/A N/A len triggers 0 N/A N/A N/A when which N/A N/A prebuild_plugins check_and_set_rebuild N/A prebuild_plugins stop_autorebuild_if_disabled N/A prebuild_plugins bump_release N/A postbuild_plugins import_image N/A exit_plugins sendmail N/A N/A N/A N/A logger info removing %s from request because there are no triggers which N/A N/A N/A N/A self dj remove_plugin when which N/A adjust_for_scratch N/A N/A self N/A N/A N/A 
        Remove koji Content Generator related plugins if no triggers set in
        order to hadle the "scratch build" scenario
         N/A N/A self scratch N/A N/A N/A when which N/A N/A exit_plugins koji_promote N/A N/A N/A N/A logger info removing %s from request because there are no triggers which N/A N/A N/A N/A self dj remove_plugin when which N/A render_add_labels_in_dockerfile N/A N/A self N/A N/A N/A implicit_labels N/A Vendor Authoritative_Registry distribution-scope N/A N/A N/A self spec vendor value N/A N/A N/A self spec authoritative_registry value N/A N/A N/A self spec distribution_scope value N/A build_host N/A N/A N/A self spec build_host value N/A build_host N/A N/A N/A implicit_labels N/A Build_Host build_host N/A architecture N/A N/A N/A self spec architecture value N/A architecture N/A N/A N/A implicit_labels N/A Architecture architecture N/A N/A N/A N/A self dj dock_json_merge_arg prebuild_plugins add_labels_in_dockerfile labels implicit_labels N/A render_koji N/A N/A self N/A N/A N/A 
        if there is yum repo specified, don't pick stuff from koji
         N/A N/A N/A N/A self spec yum_repourls value N/A N/A N/A N/A logger info removing koji from request because there is yum repo specified N/A N/A N/A N/A self dj remove_plugin prebuild_plugins koji N/A N/A N/A N/A N/A N/A N/A self spec koji_target value N/A N/A N/A self spec kojiroot value N/A N/A N/A self spec kojihub value N/A N/A N/A N/A logger info removing koji from request as not specified N/A N/A N/A N/A self dj remove_plugin prebuild_plugins koji N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins koji target N/A N/A N/A self spec koji_target value N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins koji root N/A N/A N/A self spec kojiroot value N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins koji hub N/A N/A N/A self spec kojihub value N/A N/A N/A N/A self spec proxy value N/A N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins koji proxy N/A N/A N/A self spec proxy value N/A render_bump_release N/A N/A self N/A N/A N/A 
        If the bump_release plugin is present, configure it
         N/A N/A N/A N/A self dj dock_json_has_plugin_conf prebuild_plugins bump_release N/A N/A push_url N/A N/A N/A self spec git_push_url value N/A N/A push_url None N/A N/A N/A N/A N/A N/A self spec git_push_username value None N/A N/A components N/A N/A urlparse urlsplit push_url N/A netloc N/A N/A N/A N/A components netloc split @ 1 N/A -1 N/A comps N/A list components N/A N/A comps N/A 1 N/A %s@%s N/A N/A N/A N/A self spec git_push_username value netloc N/A push_url N/A N/A urlparse urlunsplit comps N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins bump_release push_url push_url N/A N/A N/A logger info bump_release configured so setting source git ref to %s N/A N/A N/A self spec git_branch value N/A N/A looks_like_git_hash N/A N/A N/A self spec git_branch value N/A N/A N/A OsbsValidationException git_branch parameter requires branch name not hash N/A N/A N/A looks_like_git_hash N/A N/A N/A self spec git_ref value N/A N/A N/A OsbsValidationException git_ref parameter requires hash not branch name N/A N/A N/A N/A N/A N/A self template N/A spec N/A source N/A git N/A ref N/A N/A N/A self spec git_branch value N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins bump_release git_ref N/A N/A N/A self spec git_ref value N/A render_koji_promote N/A N/A self use_auth N/A None N/A N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf exit_plugins koji_promote N/A N/A N/A N/A N/A N/A self spec kojihub value N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins koji_promote url N/A N/A N/A self spec builder_openshift_url value N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins koji_promote kojihub N/A N/A N/A self spec kojihub value N/A N/A use_auth None N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins koji_promote use_auth use_auth N/A N/A N/A N/A logger info removing koji_promote from request as no kojihub specified N/A N/A N/A N/A self dj remove_plugin exit_plugins koji_promote N/A render_sendmail N/A N/A self N/A N/A N/A 
        if we have pdc_url and smtp_uri, configure sendmail plugin,
        else remove it
         N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf exit_plugins sendmail N/A N/A N/A N/A N/A N/A N/A self spec pdc_url value N/A N/A N/A self spec smtp_uri value N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins sendmail url N/A N/A N/A self spec builder_openshift_url value N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins sendmail pdc_url N/A N/A N/A self spec pdc_url value N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins sendmail smtp_uri N/A N/A N/A self spec smtp_uri value N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins sendmail submitter N/A N/A N/A self spec user value N/A N/A pdc_secret_path N/A N/A N/A N/A self dj dock_json_get_plugin_conf exit_plugins sendmail N/A args N/A N/A N/A OsbsValidationException sendmail plugin configured, but no pdc_secret_path N/A N/A N/A N/A logger info removing sendmail from request, requires pdc_url and smtp_uri N/A N/A N/A N/A self dj remove_plugin exit_plugins sendmail N/A render_pulp_push N/A N/A self N/A N/A N/A 
        If a pulp registry is specified, use the pulp plugin
         N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf postbuild_plugins pulp_push N/A N/A N/A pulp_registry N/A N/A N/A self spec pulp_registry value N/A pulp_registry N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins pulp_push pulp_registry_name pulp_registry N/A N/A N/A N/A N/A self spec pulp_secret value None N/A N/A conf N/A N/A N/A self dj dock_json_get_plugin_conf postbuild_plugins pulp_push N/A args N/A N/A conf get args N/A N/A N/A username args N/A N/A N/A OsbsValidationException Pulp registry specified but no auth config N/A N/A N/A N/A logger info removing pulp_push from request, requires pulp_registry N/A N/A N/A N/A self dj remove_plugin postbuild_plugins pulp_push N/A render_pulp_sync N/A N/A self N/A N/A N/A 
        If a pulp registry is specified, use the pulp plugin
         N/A N/A N/A N/A N/A self dj dock_json_has_plugin_conf postbuild_plugins pulp_sync N/A N/A N/A pulp_registry N/A N/A N/A self spec pulp_registry value N/A docker_v2_registries N/A registry N/A registry N/A N/A N/A self spec registry_uris value N/A N/A registry version v2 N/A N/A pulp_registry docker_v2_registries N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins pulp_sync pulp_registry_name pulp_registry N/A docker_registry N/A N/A docker_v2_registries N/A 0 uri N/A N/A N/A logger info using docker v2 registry %s for pulp_sync docker_registry N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins pulp_sync docker_registry docker_registry N/A N/A N/A N/A N/A self spec pulp_secret value None N/A N/A conf N/A N/A N/A self dj dock_json_get_plugin_conf postbuild_plugins pulp_sync N/A args N/A N/A conf get args N/A N/A N/A username args N/A N/A N/A OsbsValidationException Pulp registry specified but no auth config N/A N/A N/A N/A logger info removing pulp_sync from request, requires pulp_registry and a v2 registry N/A N/A N/A N/A self dj remove_plugin postbuild_plugins pulp_sync N/A render_import_image N/A N/A self use_auth N/A None N/A N/A 
        Configure the import_image plugin
         N/A N/A N/A N/A self dj dock_json_has_plugin_conf postbuild_plugins import_image N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image imagestream N/A N/A N/A self spec imagestream_name value N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image docker_image_repo N/A N/A N/A self spec imagestream_url value N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image url N/A N/A N/A self spec builder_openshift_url value N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image build_json_dir N/A N/A N/A self spec builder_build_json_dir value N/A use_auth N/A N/A N/A self spec use_auth value N/A N/A use_auth None N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image use_auth use_auth N/A N/A N/A N/A self spec imagestream_insecure_registry value N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins import_image insecure_registry True N/A render N/A N/A self validate N/A True N/A N/A validate N/A N/A N/A N/A N/A self spec validate N/A N/A N/A N/A super ProductionBuild self render N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins distgit_fetch_artefacts command N/A N/A N/A self spec sources_command value N/A source_registry N/A N/A N/A self spec source_registry_uri value N/A N/A N/A N/A self dj dock_json_set_arg prebuild_plugins pull_base_image parent_registry N/A source_registry N/A source_registry docker_uri None N/A remove_triggers False N/A param_name N/A git_branch git_push_url N/A N/A param N/A getattr N/A self spec param_name N/A N/A N/A param value N/A N/A N/A N/A logger info removing triggers as no %s specified param_name N/A remove_triggers True N/A N/A remove_triggers N/A triggers N/A N/A self template N/A spec N/A N/A N/A N/A N/A self template N/A spec N/A triggers N/A N/A N/A self adjust_for_triggers N/A N/A N/A self adjust_for_scratch N/A N/A N/A self adjust_for_registry_api_versions N/A N/A N/A self set_secrets N/A N/A postbuild_plugins pulp_push pulp_secret_path N/A postbuild_plugins pulp_sync pulp_secret_path N/A exit_plugins sendmail pdc_secret_path N/A exit_plugins koji_promote koji_ssl_certs N/A N/A N/A self spec pulp_secret value N/A N/A N/A self spec pulp_secret value N/A N/A N/A self spec pdc_secret value N/A N/A N/A self spec koji_certs_secret value N/A N/A N/A N/A self spec pulp_secret value N/A N/A N/A N/A N/A N/A N/A self template N/A spec N/A output N/A to N/A name N/A N/A N/A self spec image_tag value N/A use_auth N/A N/A N/A self spec use_auth value N/A N/A N/A self render_add_labels_in_dockerfile N/A N/A N/A self render_koji N/A N/A N/A self render_bump_release N/A N/A N/A self render_import_image use_auth use_auth N/A N/A N/A self render_pulp_push N/A N/A N/A self render_pulp_sync N/A N/A N/A self render_koji_promote use_auth use_auth N/A N/A N/A self render_sendmail N/A N/A N/A N/A self dj write_dock_json N/A N/A self build_json N/A self template N/A N/A N/A logger debug N/A self build_json N/A N/A self build_json N/A N/A register_build_class SimpleBuild N/A CommonBuild N/A N/A 
    Simple build type for scratch builds - gets sources from git, builds image
    according to Dockerfile, pushes it to a registry.
     N/A key SIMPLE_BUILD_TYPE __init__ N/A N/A self build_json_store N/A kwargs N/A N/A N/A N/A N/A super SimpleBuild self __init__ build_json_store kwargs N/A N/A self spec N/A SimpleSpec N/A set_params N/A N/A self N/A kwargs N/A N/A 
        set parameters according to specification
         N/A N/A N/A logger debug setting params '%s' for %s kwargs N/A self spec N/A N/A N/A N/A self spec set_params kwargs N/A render N/A N/A self validate N/A True N/A N/A validate N/A N/A N/A N/A N/A self spec validate N/A N/A N/A N/A super SimpleBuild self render N/A N/A N/A N/A N/A N/A self dj dock_json_set_arg exit_plugins store_metadata_in_osv3 url N/A N/A N/A self spec builder_openshift_url value N/A N/A N/A RuntimeError N/A N/A N/A N/A N/A self dj dock_json_set_arg postbuild_plugins store_metadata_in_osv3 url N/A N/A N/A self spec builder_openshift_url value N/A N/A N/A N/A self dj dock_json_has_plugin_conf postbuild_plugins tag_and_push N/A N/A push_conf N/A N/A N/A self dj dock_json_get_plugin_conf postbuild_plugins tag_and_push N/A N/A N/A registries N/A N/A push_conf N/A args N/A registries N/A N/A N/A KeyError N/A N/A N/A N/A regdict N/A N/A registries values N/A N/A N/A version regdict N/A N/A N/A regdict N/A version N/A N/A N/A N/A self dj write_dock_json N/A N/A self build_json N/A self template N/A N/A N/A logger debug N/A self build_json N/A N/A self build_json N/A N/A register_build_class BuildManager N/A object N/A __init__ N/A N/A self build_json_store N/A N/A N/A N/A self build_json_store build_json_store N/A get_build_request_by_type N/A N/A self build_type N/A N/A N/A 
        return instance of BuildRequest according to specified build type

        :param build_type: str, name of build type
        :return: instance of BuildRequest
         N/A b N/A N/A BuildRequest new_by_type build_type build_json_store N/A self build_json_store N/A b N/A N/A