Module Expr Str Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return ListLoad Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Yield Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults ListLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If CompareLtELtE Str NameLoad Str body Expr Yield NameLoad decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Set Str Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad Str body If CompareLtELtE NameLoad Call NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list Assign NameStore BinOpBitOr BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Str NameLoad Num Num Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Str keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Call NameLoad Str body If CompareLtELtE NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Yield AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Set Str Str Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareLtE Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Yield AttributeLoad NameLoad attr orelse Expr Yield Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Yield Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore ListLoad Str Str Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Str attr Str Str keyword Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Set Str Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Str Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore BinOpBitOr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Str attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Set Str Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Num Num Num FunctionDef arguments args NameParam defaults body Expr Yield Call AttributeLoad NameLoad attr IfExp BinOpMod NameLoad Num Str Str NameLoad If CompareEq BinOpMod NameLoad Num Num body Expr Yield NameLoad decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set Num Num Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareEq BinOpMod NameLoad Num Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults CompareEq BinOpMod NameLoad Num Num attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body If CompareEq BinOpMod AttributeLoad NameLoad attr Num Num body Expr Yield AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults TupleLoad Call NameLoad NameLoad NameLoad decorator_list decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index TupleLoad NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr BinOpBitOr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr BinOpBitOr BinOpBitOr NameLoad Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Num attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr BinOpBitOr BinOpBitOr NameLoad Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Num attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Return TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore BinOpBitOr BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Set TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Call NameLoad BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Lambda arguments args TupleStore NameStore NameStore defaults TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults Str body With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad orelse Return ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListComp Call NameLoad NameLoad comprehension NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Str Expr Call NameLoad ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad Call AttributeLoad Str attr NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad ListLoad Str Str ListLoad Str Str Assign NameStore ListLoad ListLoad Str Str ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Assign NameStore BinOpBitOr BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Set TupleLoad Str Num TupleLoad Str Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Set TupleLoad Str Num TupleLoad Str Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Set Str Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Num Set Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num FunctionDef arguments args NameParam NameParam defaults Num body Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Import alias Import alias Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return TupleLoad Num Num decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore NameParam defaults body Return TupleLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Return TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam TupleStore NameStore NameStore defaults body Return IfExp NameLoad BinOpDiv NameLoad NameLoad Call NameLoad Str decorator_list decorator_list Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Set Str Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore BinOpBitOr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Set TupleLoad Str Num TupleLoad Str Num Call NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for all code snippets used in public docs. N/A logging N/A sys N/A tempfile N/A unittest N/A google.cloud.dataflow df google.cloud.dataflow pvalue google.cloud.dataflow typehints google.cloud.dataflow.examples.snippets snippets google.cloud.dataflow.utils.options TypeOptions ParDoTest N/A N/A unittest TestCase N/A N/A Tests for dataflow/model/par-do. test_pardo N/A N/A self N/A N/A N/A words N/A aa bbb c ComputeWordLengthFn N/A N/A df DoFn N/A process N/A N/A self context N/A N/A N/A N/A N/A len N/A context element N/A N/A N/A word_lengths N/A words N/A N/A df ParDo N/A ComputeWordLengthFn N/A N/A N/A self assertEqual N/A 2 3 1 N/A set word_lengths N/A test_pardo_yield N/A N/A self N/A N/A N/A words N/A aa bbb c ComputeWordLengthFn N/A N/A df DoFn N/A process N/A N/A self context N/A N/A N/A N/A N/A len N/A context element N/A N/A N/A word_lengths N/A words N/A N/A df ParDo N/A ComputeWordLengthFn N/A N/A N/A self assertEqual N/A 2 3 1 N/A set word_lengths N/A test_pardo_using_map N/A N/A self N/A N/A N/A words N/A aa bbb c N/A word_lengths N/A words N/A N/A df Map len N/A N/A N/A self assertEqual N/A 2 3 1 N/A set word_lengths N/A test_pardo_using_flatmap N/A N/A self N/A N/A N/A words N/A aa bbb c N/A word_lengths N/A words N/A N/A df FlatMap N/A N/A N/A word N/A N/A N/A len word N/A N/A N/A self assertEqual N/A 2 3 1 N/A set word_lengths N/A test_pardo_using_flatmap_yield N/A N/A self N/A N/A N/A words N/A aA bbb C capitals N/A N/A word N/A N/A N/A letter word N/A N/A N/A A letter Z N/A N/A N/A letter N/A N/A all_capitals N/A words N/A N/A df FlatMap capitals N/A N/A N/A self assertEqual N/A A C N/A set all_capitals N/A test_pardo_with_label N/A N/A self N/A N/A N/A words N/A aa bbc defg N/A result N/A words N/A N/A df Map CountUniqueLetters N/A N/A N/A word N/A N/A len N/A set word N/A N/A N/A self assertEqual N/A 1 2 4 N/A set result N/A test_pardo_side_input N/A N/A self N/A N/A N/A p N/A N/A df Pipeline DirectPipelineRunner N/A words N/A p N/A N/A df Create start N/A a bb ccc dddd filter_using_length N/A N/A word lower_bound upper_bound N/A N/A float inf N/A N/A N/A lower_bound N/A len word upper_bound N/A N/A N/A word N/A N/A avg_word_len N/A N/A words N/A N/A df Map len N/A N/A df CombineGlobally N/A N/A N/A df combiners MeanCombineFn N/A small_words N/A words N/A N/A df FlatMap small filter_using_length 0 3 N/A larger_than_average N/A words N/A N/A df FlatMap large filter_using_length lower_bound N/A N/A pvalue AsSingleton avg_word_len N/A small_but_nontrivial N/A words N/A N/A df FlatMap filter_using_length lower_bound 2 upper_bound N/A N/A pvalue AsSingleton avg_word_len N/A N/A N/A df assert_that small_words N/A N/A df equal_to N/A a bb ccc N/A N/A N/A df assert_that larger_than_average N/A N/A df equal_to N/A ccc dddd label larger_than_average N/A N/A N/A df assert_that small_but_nontrivial N/A N/A df equal_to N/A bb label small_but_not_trivial N/A N/A N/A p run N/A test_pardo_side_input_dofn N/A N/A self N/A N/A N/A words N/A a bb ccc dddd FilterUsingLength N/A N/A df DoFn N/A process N/A N/A self context lower_bound upper_bound N/A N/A float inf N/A N/A N/A lower_bound N/A len N/A context element upper_bound N/A N/A N/A N/A context element N/A N/A N/A small_words N/A words N/A N/A df ParDo N/A FilterUsingLength 0 3 N/A N/A N/A self assertEqual N/A a bb ccc N/A set small_words N/A test_pardo_with_side_outputs N/A N/A self N/A N/A ProcessWords N/A N/A df DoFn N/A process N/A N/A self context cutoff_length marker N/A N/A N/A N/A N/A len N/A context element cutoff_length N/A N/A N/A N/A context element N/A N/A N/A N/A N/A pvalue SideOutputValue above_cutoff_lengths N/A len N/A context element N/A N/A N/A N/A context element startswith marker N/A N/A N/A N/A N/A pvalue SideOutputValue marked strings N/A context element N/A N/A N/A words N/A a an the music xyz N/A results N/A words N/A N/A N/A N/A df ParDo N/A ProcessWords cutoff_length 2 marker x with_outputs above_cutoff_lengths marked strings main below_cutoff_strings N/A below N/A results below_cutoff_strings N/A above N/A results above_cutoff_lengths N/A marked N/A results N/A marked strings N/A N/A N/A self assertEqual N/A a an N/A set below N/A N/A N/A self assertEqual N/A 3 5 N/A set above N/A N/A N/A self assertEqual N/A xyz N/A set marked N/A N/A below above marked N/A words N/A N/A N/A N/A df ParDo N/A ProcessWords cutoff_length 2 marker x with_outputs above_cutoff_lengths marked strings main below_cutoff_strings N/A N/A N/A self assertEqual N/A a an N/A set below N/A N/A N/A self assertEqual N/A 3 5 N/A set above N/A N/A N/A self assertEqual N/A xyz N/A set marked N/A test_pardo_with_undeclared_side_outputs N/A N/A self N/A N/A N/A numbers N/A 1 2 3 4 5 10 20 even_odd N/A N/A x N/A N/A N/A N/A N/A N/A pvalue SideOutputValue N/A N/A x 2 odd even x N/A N/A N/A x 10 0 N/A N/A N/A x N/A N/A results N/A numbers N/A N/A N/A N/A df FlatMap even_odd with_outputs N/A evens N/A results even N/A odds N/A results odd N/A tens N/A results N/A None N/A N/A N/A self assertEqual N/A 2 4 10 20 N/A set evens N/A N/A N/A self assertEqual N/A 1 3 5 N/A set odds N/A N/A N/A self assertEqual N/A 10 20 N/A set tens N/A N/A TypeHintsTest N/A N/A unittest TestCase N/A test_bad_types N/A N/A self N/A N/A N/A p N/A N/A df Pipeline DirectPipelineRunner argv N/A sys argv N/A numbers N/A p N/A N/A df Create N/A 1 2 3 N/A evens N/A numbers N/A N/A df Filter N/A N/A N/A x N/A N/A N/A x 2 0 N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A p run N/A N/A N/A self assertRaises N/A typehints TypeCheckError N/A N/A N/A N/A N/A N/A p options view_as TypeOptions pipeline_type_check True N/A evens N/A numbers N/A N/A N/A N/A df Filter N/A N/A N/A x N/A N/A N/A x 2 0 with_input_types int N/A N/A N/A self assertRaises N/A typehints TypeCheckError N/A FilterEvensDoFn N/A N/A df DoFn N/A process N/A N/A self context N/A N/A N/A N/A N/A N/A context element 2 0 N/A N/A N/A N/A context element N/A N/A N/A N/A N/A df typehints with_input_types int N/A evens N/A numbers N/A N/A df ParDo N/A FilterEvensDoFn N/A words N/A p N/A N/A df Create words N/A a bb c N/A T N/A N/A N/A df typehints TypeVariable T MyTransform N/A N/A df PTransform N/A apply N/A N/A self pcoll N/A N/A N/A N/A pcoll N/A N/A df Map N/A N/A N/A x N/A N/A N/A len x x N/A N/A N/A N/A N/A df typehints with_input_types T N/A N/A N/A df typehints with_output_types N/A N/A N/A df typehints Tuple N/A N/A int T N/A words_with_lens N/A words N/A MyTransform N/A N/A N/A self assertRaises N/A typehints TypeCheckError N/A N/A N/A words_with_lens N/A N/A N/A N/A df Map N/A N/A N/A x N/A x with_input_types N/A N/A N/A df typehints Tuple N/A N/A int int N/A test_runtime_checks_off N/A N/A self N/A N/A N/A p N/A N/A df Pipeline DirectPipelineRunner argv N/A sys argv N/A N/A N/A p N/A N/A df Create N/A a N/A N/A N/A N/A df Map N/A N/A N/A x N/A 3 with_output_types str N/A N/A N/A p run N/A test_runtime_checks_on N/A N/A self N/A N/A N/A p N/A N/A df Pipeline DirectPipelineRunner argv N/A sys argv N/A N/A N/A self assertRaises N/A typehints TypeCheckError N/A N/A N/A N/A N/A N/A p options view_as TypeOptions runtime_type_check True N/A N/A N/A p N/A N/A df Create N/A a N/A N/A N/A N/A df Map N/A N/A N/A x N/A 3 with_output_types str N/A N/A N/A p run N/A test_deterministic_key N/A N/A self N/A N/A N/A p N/A N/A df Pipeline DirectPipelineRunner argv N/A sys argv N/A lines N/A banana,fruit,3 kiwi,fruit,2 kiwi,fruit,2 zucchini,veg,3 Player N/A object N/A __init__ N/A N/A self team name N/A N/A N/A N/A self team team N/A N/A self name name N/A N/A PlayerCoder N/A N/A N/A df coders Coder N/A encode N/A N/A self player N/A N/A N/A N/A %s:%s N/A N/A player team N/A player name N/A decode N/A N/A self s N/A N/A N/A N/A Player N/A N/A s split : N/A is_deterministic N/A N/A self N/A N/A N/A True N/A N/A N/A N/A N/A N/A N/A df coders registry register_coder Player PlayerCoder parse_player_and_score N/A N/A csv N/A N/A N/A N/A name team score N/A N/A csv split , N/A N/A N/A Player team name N/A int score N/A N/A totals N/A N/A lines N/A N/A df Map parse_player_and_score N/A N/A N/A N/A df CombinePerKey sum with_input_types N/A N/A N/A df typehints Tuple N/A N/A Player int N/A N/A N/A self assertEquals N/A N/A banana 3 N/A kiwi 4 N/A zucchini 3 N/A set N/A totals N/A N/A df Map N/A N/A N/A N/A k v N/A N/A N/A k name v N/A N/A SnippetsTest N/A N/A unittest TestCase N/A create_temp_file N/A N/A self contents N/A N/A N/A N/A N/A tempfile NamedTemporaryFile delete False f N/A N/A N/A N/A f write contents N/A N/A f name N/A get_output N/A N/A self path sorted_output N/A True N/A N/A lines N/A N/A N/A open path f N/A N/A lines N/A N/A f readlines N/A sorted_output N/A N/A N/A sorted N/A N/A N/A s rstrip N/A s lines N/A N/A N/A N/A N/A s rstrip N/A s lines N/A test_model_pipelines N/A N/A self N/A N/A N/A temp_path N/A N/A self create_temp_file aa bb cc
 bb cc
 cc N/A result_path N/A temp_path .result N/A N/A N/A snippets model_pipelines N/A N/A --input=%s* temp_path N/A --output=%s result_path N/A N/A N/A self assertEqual N/A N/A self get_output result_path N/A N/A str s N/A s N/A N/A aa 1 N/A bb 2 N/A cc 3 N/A test_model_pcollection N/A N/A self N/A N/A N/A temp_path N/A N/A self create_temp_file N/A N/A N/A snippets model_pcollection N/A N/A --output=%s temp_path N/A N/A N/A self assertEqual N/A N/A self get_output temp_path sorted_output False N/A To be, or not to be: that is the question:  Whether 'tis nobler in the mind to suffer  The slings and arrows of outrageous fortune,  Or to take arms against a sea of troubles,  N/A test_construct_pipeline N/A N/A self N/A N/A N/A temp_path N/A N/A self create_temp_file abc def ghi
 jkl mno pqr
 stu vwx yz N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets construct_pipeline N/A read write temp_path result_path N/A N/A N/A self assertEqual N/A N/A self get_output result_path N/A cba fed ihg lkj onm rqp uts xwv zy N/A test_model_textio N/A N/A self N/A N/A N/A temp_path N/A N/A self create_temp_file aa bb cc
 bb cc
 cc N/A result_path N/A temp_path .result N/A N/A N/A snippets model_textio N/A read write temp_path result_path N/A N/A N/A self assertEqual N/A aa bb bb cc cc cc N/A N/A self get_output result_path N/A test_model_bigqueryio N/A N/A self N/A N/A N/A N/A N/A self assertEqual None N/A N/A snippets model_bigqueryio N/A _run_test_pipeline_for_options N/A N/A self fn N/A N/A N/A temp_path N/A N/A self create_temp_file aa
bb
cc N/A result_path N/A temp_path .result N/A N/A fn N/A N/A --input=%s* temp_path N/A --output=%s result_path N/A N/A N/A self assertEqual N/A aa bb cc N/A N/A self get_output result_path N/A test_pipeline_options_local N/A N/A self N/A N/A N/A N/A N/A self _run_test_pipeline_for_options N/A snippets pipeline_options_local N/A test_pipeline_options_remote N/A N/A self N/A N/A N/A N/A N/A self _run_test_pipeline_for_options N/A snippets pipeline_options_remote N/A test_pipeline_options_command_line N/A N/A self N/A N/A N/A N/A N/A self _run_test_pipeline_for_options N/A snippets pipeline_options_command_line N/A test_pipeline_logging N/A N/A self N/A N/A N/A result_path N/A N/A self create_temp_file N/A lines N/A we found love right where we are we found love right from the start we found love in a hopeless place N/A N/A N/A snippets pipeline_logging lines result_path N/A N/A N/A self assertEqual N/A sorted N/A N/A N/A N/A join lines split N/A N/A self get_output result_path N/A test_examples_wordcount N/A N/A self N/A N/A N/A pipelines N/A N/A snippets examples_wordcount_minimal N/A snippets examples_wordcount_wordcount N/A snippets pipeline_monitoring N/A pipeline pipelines N/A N/A temp_path N/A N/A self create_temp_file abc def ghi
 abc jkl N/A result_path N/A N/A self create_temp_file N/A N/A pipeline N/A read write temp_path result_path N/A N/A N/A self assertEqual N/A N/A self get_output result_path N/A abc: 2 def: 1 ghi: 1 jkl: 1 N/A test_examples_wordcount_debugging N/A N/A self N/A N/A N/A temp_path N/A N/A self create_temp_file Flourish Flourish Flourish stomach abc def N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets examples_wordcount_debugging N/A read write temp_path result_path N/A N/A N/A self assertEqual N/A N/A self get_output result_path N/A Flourish: 3 stomach: 1 N/A test_model_composite_transform_example N/A N/A self N/A N/A N/A contents N/A aa bb cc bb cc cc N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets model_composite_transform_example contents result_path N/A N/A N/A self assertEqual N/A aa: 1 bb: 2 cc: 3 N/A N/A self get_output result_path N/A test_model_multiple_pcollections_flatten N/A N/A self N/A N/A N/A contents N/A a b c d e f N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets model_multiple_pcollections_flatten contents result_path N/A N/A N/A self assertEqual contents N/A N/A self get_output result_path N/A test_model_multiple_pcollections_partition N/A N/A self N/A N/A N/A contents N/A 17 42 64 32 0 99 53 89 N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets model_multiple_pcollections_partition contents result_path N/A N/A N/A self assertEqual N/A 0 17 32 42 53 64 89 99 N/A N/A self get_output result_path N/A test_model_group_by_key N/A N/A self N/A N/A N/A contents N/A a bb ccc bb bb a N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets model_group_by_key contents result_path N/A expected N/A N/A a 2 N/A bb 3 N/A ccc 1 N/A N/A N/A self assertEqual N/A N/A str s N/A s expected N/A N/A self get_output result_path N/A test_model_co_group_by_key_tuple N/A N/A self N/A N/A N/A email_list N/A N/A a a@example.com N/A b b@example.com N/A phone_list N/A N/A a x4312 N/A b x8452 N/A result_path N/A N/A self create_temp_file N/A N/A N/A snippets model_co_group_by_key_tuple email_list phone_list result_path N/A expect N/A a; a@example.com; x4312 b; b@example.com; x8452 N/A N/A N/A self assertEqual expect N/A N/A self get_output result_path N/A N/A CombineTest N/A N/A unittest TestCase N/A N/A Tests for dataflow/model/combine. test_global_sum N/A N/A self N/A N/A N/A pc N/A 1 2 3 N/A result N/A pc N/A N/A df CombineGlobally sum N/A N/A N/A self assertEqual N/A 6 result N/A test_combine_values N/A N/A self N/A N/A N/A occurences N/A N/A cat 1 N/A cat 5 N/A cat 9 N/A dog 5 N/A dog 2 N/A first_occurences N/A N/A occurences N/A N/A df GroupByKey N/A N/A df CombineValues min N/A N/A N/A self assertEqual N/A N/A cat 1 N/A dog 2 N/A set first_occurences N/A test_combine_per_key N/A N/A self N/A N/A N/A player_accuracies N/A N/A cat 1 N/A cat 5 N/A cat 9 N/A cat 1 N/A dog 5 N/A dog 2 N/A avg_accuracy_per_player N/A player_accuracies N/A N/A df CombinePerKey N/A N/A N/A df combiners MeanCombineFn N/A N/A N/A self assertEqual N/A N/A cat 4.0 N/A dog 3.5 N/A set avg_accuracy_per_player N/A test_combine_concat N/A N/A self N/A N/A N/A pc N/A a b concat N/A N/A values separator N/A ,  N/A N/A N/A N/A separator join values N/A N/A with_commas N/A pc N/A N/A df CombineGlobally concat N/A with_dashes N/A pc N/A N/A df CombineGlobally concat separator - N/A N/A N/A self assertEqual 1 N/A len with_commas N/A N/A N/A self assertTrue N/A N/A with_commas N/A 0 N/A a, b b, a N/A N/A N/A self assertEqual 1 N/A len with_dashes N/A N/A N/A self assertTrue N/A N/A with_dashes N/A 0 N/A a-b b-a N/A test_bounded_sum N/A N/A self N/A N/A N/A pc N/A 1 10 100 1000 bounded_sum N/A N/A values bound N/A 500 N/A N/A N/A min N/A sum values bound N/A N/A small_sum N/A pc N/A N/A df CombineGlobally bounded_sum N/A large_sum N/A pc N/A N/A df CombineGlobally bounded_sum bound 5000 N/A N/A N/A self assertEqual N/A 500 small_sum N/A N/A N/A self assertEqual N/A 1111 large_sum N/A test_combine_reduce N/A N/A self N/A N/A N/A factors N/A 2 3 5 7 N/A functools N/A operator N/A product N/A factors N/A N/A df CombineGlobally N/A N/A functools partial reduce N/A operator mul 1 N/A N/A N/A self assertEqual N/A 210 product N/A test_custom_average N/A N/A self N/A N/A N/A pc N/A 2 3 5 7 AverageFn N/A N/A df CombineFn N/A create_accumulator N/A N/A self N/A N/A N/A N/A 0.0 0 N/A add_input N/A N/A self N/A sum count input N/A N/A N/A N/A N/A sum input N/A count 1 N/A merge_accumulators N/A N/A self accumulators N/A N/A N/A N/A sums counts N/A zip accumulators N/A N/A N/A sum sums N/A sum counts N/A extract_output N/A N/A self N/A sum count N/A N/A N/A N/A count N/A sum count N/A float NaN N/A N/A N/A average N/A pc N/A N/A df CombineGlobally N/A AverageFn N/A N/A N/A self assertEqual N/A 4.25 average N/A test_keys N/A N/A self N/A N/A N/A occurrences N/A N/A cat 1 N/A cat 5 N/A dog 5 N/A cat 9 N/A dog 2 N/A unique_keys N/A occurrences N/A N/A snippets Keys N/A N/A N/A self assertEqual N/A cat dog N/A set unique_keys N/A test_count N/A N/A self N/A N/A N/A occurrences N/A cat dog cat cat dog N/A perkey_counts N/A occurrences N/A N/A snippets Count N/A N/A N/A self assertEqual N/A N/A cat 3 N/A dog 2 N/A set perkey_counts N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging INFO N/A N/A N/A unittest main