Module Expr Str Assign NameStore Str Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Str Str Str Str Str Dict Assign NameStore Call NameLoad NameLoad Str Dict Str Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Dict Str Str Str Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If AttributeLoad NameLoad attr body Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index Str comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad GeneratorExp SubscriptLoad AttributeLoad NameLoad attr Index Str comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Str Str NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Num Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore Num AugAssignAdd NameStore BinOpAdd Num Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body AugAssignAdd NameStore Num If AttributeLoad NameLoad attr body AugAssignAdd NameStore Num If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore SubscriptLoad ListComp NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Dict Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr For NameStore ListLoad Str Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Dict Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Str Assign NameStore Call NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Str Assign NameStore Call NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults kwarg body Assign NameStore Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Dict Dict Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Return NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for api.py. N/A __author__ aiuto@google.com (Tony Aiuto) N/A json N/A os N/A gflags flags google.apputils basetest googleapis.codegen data_types googleapis.codegen language_model googleapis.codegen.api Api googleapis.codegen.api AuthScope googleapis.codegen.api Method googleapis.codegen.api Resource googleapis.codegen.api Schema googleapis.codegen.api_exception ApiException N/A FLAGS N/A flags FLAGS FakeLanguageModel N/A N/A language_model LanguageModel N/A GetCodeTypeFromDictionary N/A N/A self def_dict N/A N/A N/A N/A N/A def_dict get type N/A ArrayOf N/A N/A self unused_var s N/A N/A N/A N/A Array[%s] s N/A N/A ApiTest N/A N/A basetest TestCase N/A N/A _TEST_DISCOVERY_DOC sample_discovery.json N/A _TEST_DISCOVERY_RPC_DOC sample_discovery.rpc.json N/A _TEST_SHARED_TYPES_DOC sample_shared.json ApiFromDiscoveryDoc N/A N/A self path N/A N/A N/A Load a discovery doc from a file and creates a library Api.

    Args:
      path: (str) The path to the document.

    Returns:
      An Api for that document.
     N/A f N/A open N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ testdata path N/A discovery_doc N/A N/A json loads N/A N/A f read N/A N/A N/A f close N/A N/A Api discovery_doc N/A testLazySchemaForCreation N/A N/A self N/A N/A N/A Check loading schemas which are known to have a forward reference.

    In the test data, "Activity" refers to "Commment", and the nature
    (sorted) of the loading code causes "Activity" to be processed
    before "Commment".  We want to make sure that SchemaFor does the right
    thing with the lazy creation of activity.
     N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A schema N/A Activity Comment Activity.object N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A api _schemas N/A schema Schema N/A SchemaRefInProperties N/A N/A self N/A N/A N/A Make sure that an object ref works in a schema properties list. N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A activity_schema N/A N/A api _schemas N/A Activity N/A prop N/A N/A activity_schema values N/A properties N/A N/A N/A N/A N/A prop values N/A wireName object N/A N/A N/A N/A self assertEquals ActivityObject N/A N/A N/A prop object_type values N/A className N/A testMakeDefaultSchemaNameFromTheDictTag N/A N/A self N/A N/A N/A Use the outer tag as id for schemas which have no id in their dict. N/A discovery_doc N/A N/A json loads 
        {
         "name": "fake",
         "version": "v1",
         "schemas": {
           "should_use_id": {
             "id": "named",
             "type": "object",
             "properties": { "dummy": { "type": "string" } }
           },
           "unnamed": {
             "type": "object",
             "properties": { "dummy": { "type": "string" } }
           }
         },
         "resources": {}
        }
         N/A gen N/A Api discovery_doc N/A N/A N/A self assertTrue N/A named N/A gen _schemas N/A N/A N/A self assertTrue N/A unnamed N/A gen _schemas N/A testUnknownHttpMethod N/A N/A self N/A N/A N/A Make sure we get an exception on unknown HTTP types. N/A api N/A Api N/A name version resources dummy v1 N/A N/A unused_resource N/A Resource api temp N/A methods N/A N/A N/A N/A self assertRaises ApiException Method api bad N/A rpcMethod httpMethod parameters rpc Not GET/POST/PUT/DELETE N/A N/A testRequiredParameterList N/A N/A self N/A N/A N/A Make sure we are computing required parameters correctly. N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A tests_executed 0 N/A resource N/A N/A api values N/A resources N/A N/A N/A N/A N/A resource values N/A wireName activities N/A N/A method N/A N/A resource values N/A methods N/A N/A N/A method required_parameters N/A N/A required_names N/A N/A N/A p values N/A wireName N/A p N/A method required_parameters N/A N/A N/A self assertEquals N/A N/A method values N/A parameterOrder required_names N/A tests_executed 1 N/A method N/A N/A api MethodByName chili.activities.get N/A optional_names N/A set N/A N/A N/A p values N/A wireName N/A p N/A method optional_parameters N/A N/A N/A self assertEquals N/A set N/A truncateAtom max-comments hl max-liked optional_names N/A tests_executed 1 N/A N/A N/A self assertEquals 7 tests_executed N/A testSchemaLoadingAsString N/A N/A self N/A N/A N/A Test for the "schema as strings" representation. N/A api N/A N/A self ApiFromDiscoveryDoc foo.v1.json N/A N/A N/A self assertEquals 4 N/A len N/A api _schemas N/A testSubResources N/A N/A self N/A N/A N/A Test for the APIs with subresources. CountResourceTree N/A N/A resource N/A N/A N/A ret 0 N/A r N/A resource _resources N/A N/A ret N/A 1 N/A CountResourceTree r N/A ret N/A N/A api N/A N/A self ApiFromDiscoveryDoc moderator.v1.json N/A top_level_resources 0 N/A total_resources 0 N/A non_method_resources 0 N/A have_sub_resources 0 N/A have_sub_resources_and_methods 0 N/A r N/A api _resources N/A N/A top_level_resources 1 N/A total_resources N/A 1 N/A CountResourceTree r N/A N/A N/A r _methods N/A N/A non_method_resources 1 N/A N/A r _resources N/A N/A have_sub_resources 1 N/A N/A N/A r _resources N/A r _methods N/A N/A have_sub_resources_and_methods 1 N/A N/A N/A self assertEquals 18 total_resources N/A N/A N/A self assertEquals 11 top_level_resources N/A N/A N/A self assertEquals 4 non_method_resources N/A N/A N/A self assertEquals 6 have_sub_resources N/A N/A N/A self assertEquals 2 have_sub_resources_and_methods N/A testParameters N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A delete N/A N/A api MethodByName chili.activities.delete N/A N/A N/A self assertEquals 1 N/A len N/A delete query_parameters N/A N/A N/A self assertEquals 3 N/A len N/A delete path_parameters N/A required_p N/A FindByWireName N/A N/A delete values N/A parameters required_parameter N/A N/A N/A self assertEquals query N/A required_p location N/A post_id N/A FindByWireName N/A N/A delete values N/A parameters postId N/A N/A N/A self assertEquals path N/A post_id location N/A testEnums N/A N/A self N/A N/A N/A gen N/A N/A self ApiFromDiscoveryDoc enums.json N/A m1 N/A N/A gen MethodByName language.translations.list N/A language N/A FindByWireName N/A N/A m1 values N/A parameters language N/A e N/A N/A language values N/A enumType N/A N/A N/A self assertEquals m1 N/A e parent N/A N/A name value desc N/A N/A e values N/A pairs N/A N/A N/A N/A self assertTrue N/A name N/A ENGLISH ITALIAN LANG_ZH_CN LANG_ZH_TW N/A N/A N/A self assertTrue N/A value N/A english italian lang_zh-CN lang_zh-TW N/A N/A N/A self assertTrue N/A desc N/A English (US) Italian Chinese (Simplified) Chinese (Traditional) N/A accuracy N/A FindByWireName N/A N/A m1 values N/A parameters accuracy N/A e N/A N/A accuracy values N/A enumType N/A N/A N/A self assertEquals m1 N/A e parent N/A N/A name value desc N/A N/A e values N/A pairs N/A N/A N/A N/A self assertTrue N/A name N/A VALUE_1 VALUE_2 VALUE_3 N/A N/A N/A self assertTrue N/A value N/A 1 2 3 N/A testArrayParameter N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A search N/A N/A api MethodByName chili.people.search N/A filter_param N/A FindByWireName N/A N/A search values N/A parameters filters N/A N/A N/A self assertTrue N/A isinstance N/A filter_param data_type N/A data_types ArrayDataType N/A N/A N/A self assertTrue N/A isinstance N/A N/A filter_param data_type _base_type N/A data_types PrimitiveDataType N/A N/A N/A self assertEquals string N/A N/A N/A N/A filter_param data_type _base_type values N/A type N/A testRepeatedEnum N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A activities N/A FindByWireName N/A N/A api values N/A resources activities N/A list_method N/A FindByWireName N/A N/A activities values N/A methods list N/A options N/A N/A p N/A p N/A N/A list_method values N/A parameters N/A N/A N/A p values N/A wireName options N/A 0 N/A N/A N/A self assertTrue N/A isinstance N/A options data_type N/A data_types ArrayDataType N/A N/A N/A self assertTrue N/A isinstance N/A N/A options data_type _base_type N/A data_types Enum N/A N/A N/A self assertEquals string N/A N/A N/A N/A options data_type _base_type values N/A type N/A testScopes N/A N/A self N/A N/A N/A gen N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A scopes N/A N/A gen GetTemplateValue authscopes N/A N/A N/A self assertEquals 2 N/A len scopes N/A N/A N/A self assertEquals https://www.googleapis.com/auth/buzz N/A N/A N/A scopes N/A 0 GetTemplateValue value N/A N/A N/A self assertEquals BUZZ N/A N/A N/A scopes N/A 0 GetTemplateValue name N/A N/A N/A self assertEquals https://www.googleapis.com/auth/buzz.read-only N/A N/A N/A scopes N/A 1 GetTemplateValue value N/A N/A N/A self assertEquals BUZZ_READ_ONLY N/A N/A N/A scopes N/A 1 GetTemplateValue name N/A testAuthScope N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A scope N/A AuthScope api https://www.googleapis.com/auth/userinfo.email N/A description A typical scope N/A N/A N/A self assertEquals USERINFO_EMAIL N/A N/A scope GetTemplateValue name N/A N/A N/A self assertEquals userinfo.email N/A N/A scope GetTemplateValue lastPart N/A N/A N/A self assertEquals A typical scope N/A N/A scope GetTemplateValue description N/A scope N/A AuthScope api https://www.googleapis.com/auth/no.description N/A N/A N/A N/A self assertEquals NO_DESCRIPTION N/A N/A scope GetTemplateValue name N/A N/A N/A self assertEquals https://www.googleapis.com/auth/no.description N/A N/A scope GetTemplateValue description N/A scope N/A AuthScope api https://www.googleapis.com/auth/trim.slashes// N/A N/A N/A N/A self assertEquals TRIM_SLASHES N/A N/A scope GetTemplateValue name N/A N/A N/A self assertEquals https://www.googleapis.com/auth/trim.slashes// N/A N/A scope GetTemplateValue value N/A scope N/A AuthScope api https://www.googleapis.com/auth/product N/A description A product level scope N/A N/A N/A self assertEquals PRODUCT N/A N/A scope GetTemplateValue name N/A scope N/A AuthScope api https://mail.google.com/ N/A description A non-googleapis.com scope N/A N/A N/A self assertEquals MAIL_GOOGLE_COM N/A N/A scope GetTemplateValue name N/A N/A N/A self assertEquals mail.google.com N/A N/A scope GetTemplateValue lastPart N/A N/A N/A self assertEquals https://mail.google.com/ N/A N/A scope GetTemplateValue value N/A scope N/A AuthScope api https://mail.google.com/abc N/A description A non-googleapis.com scope N/A N/A N/A self assertEquals MAIL_GOOGLE_COM_ABC N/A N/A scope GetTemplateValue name N/A scope N/A AuthScope api http://mail.google.com/ N/A description A non-https scope N/A N/A N/A self assertEquals HTTP___MAIL_GOOGLE_COM N/A N/A scope GetTemplateValue name N/A scope N/A AuthScope api tag:google.com,2010:auth/groups2#email N/A N/A N/A N/A self assertEquals TAG_GOOGLE_COM_2010_AUTH_GROUPS2_EMAIL N/A N/A scope GetTemplateValue name N/A scope N/A AuthScope api email N/A N/A N/A N/A self assertEquals EMAIL N/A N/A scope GetTemplateValue name N/A testPostVariations N/A N/A self N/A N/A N/A gen N/A N/A self ApiFromDiscoveryDoc post_variations.json N/A r1 N/A FindByWireName N/A N/A gen values N/A resources r1 N/A methods N/A N/A r1 values N/A methods N/A m N/A FindByWireName methods get N/A N/A N/A self assertIsNone N/A N/A m values N/A requestType N/A N/A N/A self assertEquals Task N/A N/A N/A m values N/A responseType class_name N/A m N/A FindByWireName methods insert N/A N/A N/A self assertEquals Task N/A N/A N/A m values N/A requestType class_name N/A N/A N/A self assertEquals Task N/A N/A N/A m values N/A responseType class_name N/A m N/A FindByWireName methods no_request_no_response N/A N/A N/A self assertIsNone N/A N/A N/A m values get requestType N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A m values get responseType N/A data_types Void N/A m N/A FindByWireName methods no_request N/A N/A N/A self assertIsNone N/A N/A N/A m values get requestType N/A N/A N/A self assertEquals Task N/A N/A N/A m values N/A responseType class_name N/A m N/A FindByWireName methods no_response N/A N/A N/A self assertEquals TaskList N/A N/A N/A m values N/A requestType class_name N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A m values get responseType N/A data_types Void N/A testSchemaParenting N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A schema N/A Activity Comment N/A N/A N/A N/A self assertIsNone N/A N/A N/A api _schemas N/A schema parent N/A schema N/A Person.urls Activity.object Activity.object.attachments N/A N/A N/A N/A self assertTrue N/A N/A N/A api _schemas N/A schema parent N/A N/A name schema N/A N/A N/A api _schemas items N/A N/A N/A N/A schema parent N/A N/A schema parent api N/A N/A wire_name N/A N/A schema values N/A wireName N/A parent_wire_name N/A N/A N/A schema parent values N/A wireName N/A N/A N/A self assertNotEquals name parent_wire_name N/A N/A N/A self assertTrue N/A N/A name endswith N/A N/A . join N/A parent_wire_name wire_name N/A testReadingRpcDiscovery N/A N/A self N/A N/A N/A gen N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_RPC_DOC N/A N/A N/A self assertEquals 0 N/A len N/A N/A gen values N/A resources N/A N/A N/A self assertLess 5 N/A len N/A N/A gen values N/A methods N/A N/A N/A self assertGreater 100 N/A len N/A N/A gen values N/A methods N/A method N/A N/A gen values N/A methods N/A N/A N/A N/A self assertIsNotNone N/A N/A method values N/A id N/A N/A N/A self assertEquals POST N/A N/A method values N/A httpMethod N/A N/A N/A self assertIsNone N/A N/A method values N/A restPath N/A testNormalizeUrlComponents N/A N/A self N/A N/A N/A googleapis_base https://www.googleapis.com/ LoadApi N/A N/A discovery_dict N/A N/A N/A d N/A name version fake v1 N/A N/A N/A d update discovery_dict N/A api N/A Api d N/A api N/A N/A api N/A LoadApi N/A N/A N/A N/A self assertEquals googleapis_base N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals fake/v1/ N/A N/A api values N/A servicePath N/A custom_path /testing/fake/v1/ N/A api N/A LoadApi N/A basePath custom_path N/A N/A N/A self assertEquals googleapis_base N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals testing/fake/v1/ N/A N/A api values N/A servicePath N/A custom_url https://foo.com/bar/baz/ N/A api N/A LoadApi N/A basePath custom_url N/A N/A N/A self assertEquals https://foo.com/ N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals bar/baz/ N/A N/A api values N/A servicePath N/A api N/A LoadApi N/A basePath baseUrl /will/not/be/used/ custom_url N/A N/A N/A self assertEquals https://foo.com/ N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals bar/baz/ N/A N/A api values N/A servicePath N/A api N/A LoadApi N/A basePath baseUrl rootUrl servicePath /will/not/be/used/ https://bar.com/not/used/ https://foo.com/ bar/baz/ N/A N/A N/A self assertEquals https://foo.com/ N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals bar/baz/ N/A N/A api values N/A servicePath N/A api N/A LoadApi N/A baseUrl basePath rootUrl servicePath https://localhost.appspot.com/_ah/api/fake/v1/ /_ah/api/fake/v1/ https://localhost.appspot.com/_ah/api/ fake/v1/ N/A N/A N/A self assertEquals https://localhost.appspot.com/_ah/api/ N/A N/A api values N/A rootUrl N/A N/A N/A self assertEquals fake/v1/ N/A N/A api values N/A servicePath N/A N/A N/A self assertRaises ValueError LoadApi N/A basePath /do/not/../go/up N/A N/A N/A self assertRaises ValueError LoadApi N/A rootUrl https://foo.com/ N/A testCanonicalName N/A N/A self N/A N/A N/A d N/A name version canonicalName fake v1 My API N/A api N/A Api d N/A N/A N/A self assertEquals fake N/A N/A api values N/A name N/A N/A N/A self assertEquals MyAPI N/A api _class_name N/A testNormalizeOwnerInformation N/A N/A self N/A N/A LoadApi N/A N/A N/A kwargs N/A N/A d N/A name version fake v1 N/A N/A N/A d update kwargs N/A N/A Api d N/A N/A api N/A LoadApi N/A N/A N/A self assertEquals Google N/A N/A api values N/A ownerName N/A N/A N/A self assertEquals google N/A N/A api values N/A owner N/A N/A N/A self assertEquals google.com N/A N/A api values N/A ownerDomain N/A api N/A LoadApi ownerName Google ownerDomain youtube.com N/A N/A N/A self assertEquals Google N/A N/A api values N/A ownerName N/A N/A N/A self assertEquals google N/A N/A api values N/A owner N/A N/A N/A self assertEquals youtube.com N/A N/A api values N/A ownerDomain N/A api N/A LoadApi ownerDomain youtube.com N/A N/A N/A self assertEquals youtube_com N/A N/A api values N/A owner N/A N/A N/A self assertEquals youtube.com N/A N/A api values N/A ownerDomain N/A api N/A LoadApi owner You Tube ownerDomain youtube.com N/A N/A N/A self assertEquals You Tube N/A N/A api values N/A owner N/A N/A N/A self assertEquals youtube.com N/A N/A api values N/A ownerDomain N/A api N/A LoadApi servicePath /fake rootUrl https://www.foobar.co.uk:8080/root N/A N/A N/A self assertEquals www.foobar.co.uk N/A api N/A ownerDomain N/A N/A N/A self assertEquals www_foobar_co_uk N/A api N/A owner N/A api N/A LoadApi servicePath /fake rootUrl https://whathaveyou.googleplex.com N/A N/A N/A self assertEquals google.com N/A api N/A ownerDomain N/A N/A N/A self assertEquals Google N/A api N/A ownerName N/A N/A N/A self assertEquals google N/A api N/A owner N/A api N/A LoadApi servicePath /fake rootUrl https://whathaveyou.googleapis.com N/A N/A N/A self assertEquals google.com N/A api N/A ownerDomain N/A N/A N/A self assertEquals Google N/A api N/A ownerName N/A N/A N/A self assertEquals google N/A api N/A owner N/A api N/A LoadApi servicePath /fake rootUrl https://whathaveyou.google.com N/A N/A N/A self assertEquals google.com N/A api N/A ownerDomain N/A N/A N/A self assertEquals Google N/A api N/A ownerName N/A N/A N/A self assertEquals google N/A api N/A owner N/A testSharedTypes N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_SHARED_TYPES_DOC N/A N/A N/A api VisitAll N/A N/A N/A o N/A N/A N/A o SetLanguageModel N/A N/A language_model LanguageModel N/A photos_feed_schema N/A N/A api _schemas N/A PhotosFeed N/A photo_schema N/A N/A api _schemas N/A http://www.googleapis.com/types/v1/com.google/plus/v2/photo N/A N/A N/A self assertEquals PhotosFeed N/A N/A photos_feed_schema values N/A wireName N/A N/A N/A self assertEquals com.google.myservice N/A N/A photos_feed_schema module name N/A N/A N/A self assertEquals Photo N/A N/A photo_schema values N/A wireName N/A N/A N/A self assertEquals com.google.plus.pictures N/A N/A photo_schema module name N/A N/A N/A self assertEquals com/google/plus/pictures N/A N/A photo_schema module path N/A testMethods N/A N/A self N/A N/A N/A api N/A N/A self ApiFromDiscoveryDoc N/A self _TEST_DISCOVERY_DOC N/A N/A N/A self assertEquals api N/A N/A N/A api top_level_methods N/A 0 parent N/A N/A N/A self assertLess 25 N/A len N/A api all_methods N/A N/A N/A self assertLess 0 N/A len N/A api top_level_methods N/A testApiHasTitle N/A N/A self N/A N/A N/A api_def N/A name version schemas resources fake v1 N/A N/A N/A api N/A Api api_def N/A N/A N/A self assertEquals fake N/A api N/A title N/A testExponentialBackoffDefault N/A N/A self N/A N/A N/A discovery_doc N/A N/A json loads 
        {
         "name": "fake",
         "version": "v1",
         "schemas": {},
         "resources": {}
        }
         N/A api N/A Api discovery_doc N/A N/A N/A self assertFalse N/A N/A api values N/A exponentialBackoffDefault N/A discovery_doc2 N/A N/A json loads 
        {
         "name": "fake",
         "version": "v1",
         "schemas": {},
         "resources": {},
         "exponentialBackoffDefault": true
        }
         N/A api2 N/A Api discovery_doc2 N/A N/A N/A self assertTrue N/A N/A api2 values N/A exponentialBackoffDefault N/A N/A ApiModulesTest N/A N/A basetest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self discovery_doc N/A N/A json loads 
        {
         "name": "fake",
         "version": "v1",
         "schemas": {},
         "resources": {}
        }
         N/A N/A self language_model N/A FakeLanguageModel N/A testModuleOwnerDomain N/A N/A self N/A N/A N/A N/A N/A self discovery_doc N/A ownerDomain foo.bar N/A api N/A Api N/A self discovery_doc N/A N/A N/A api VisitAll N/A N/A N/A o N/A N/A N/A o SetLanguageModel N/A self language_model N/A N/A N/A self assertEquals bar/foo/fake N/A N/A N/A api values N/A module path N/A testModulePackagePath N/A N/A self N/A N/A N/A N/A N/A self discovery_doc N/A packagePath foo/BAR N/A api N/A Api N/A self discovery_doc N/A N/A N/A api VisitAll N/A N/A N/A o N/A N/A N/A o SetLanguageModel N/A self language_model N/A N/A N/A self assertEquals com/google/foo/BAR/fake N/A N/A N/A api values N/A module path N/A testModuleOwnerDomainAndPackagePath N/A N/A self N/A N/A N/A N/A N/A self discovery_doc N/A ownerDomain toasty.com N/A N/A N/A self discovery_doc N/A packagePath foo/BAR N/A api N/A Api N/A self discovery_doc N/A N/A N/A api VisitAll N/A N/A N/A o N/A N/A N/A o SetLanguageModel N/A self language_model N/A N/A N/A self assertEquals com/toasty/foo/BAR/fake N/A N/A N/A api values N/A module path N/A N/A FindByWireName N/A N/A list_of_resource_or_method wire_name N/A N/A N/A Find an element in a list by its "wireName".

  The "wireName" is the name of the method "on the wire", which is the raw name
  as it appears in the JSON.

  Args:
    list_of_resource_or_method: A list of resource or methods as annotated by
      the Api.
    wire_name: (str): the name to fine.

  Returns:
    dict or None
   N/A x list_of_resource_or_method N/A N/A N/A N/A N/A x values N/A wireName wire_name N/A N/A x N/A None N/A N/A N/A __name__ __main__ N/A N/A N/A N/A basetest main