Module Import alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad NameLoad Str keyword NameLoad decorator_list decorator_list
N/A N/A unittest raco.catalog FromFileCatalog raco.catalog DEFAULT_CARDINALITY N/A os N/A test_file_path raco/catalog_tests TestFromFileCatalog N/A N/A unittest TestCase N/A test_default_cardinality_relation N/A N/A self N/A N/A N/A cut N/A N/A FromFileCatalog load_from_file N/A N/A {p}/default_cardinality_relation.py format p test_file_path N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme B get_names N/A x y z N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme A get_types N/A DOUBLE_TYPE STRING_TYPE N/A N/A N/A self assertEqual N/A N/A cut num_tuples A DEFAULT_CARDINALITY N/A N/A N/A self assertEqual N/A N/A cut num_tuples B DEFAULT_CARDINALITY N/A test_set_cardinality_relation N/A N/A self N/A N/A N/A cut N/A N/A FromFileCatalog load_from_file N/A N/A {p}/set_cardinality_relation.py format p test_file_path N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme C get_names N/A a b c N/A N/A N/A self assertEqual N/A N/A cut num_tuples B DEFAULT_CARDINALITY N/A N/A N/A self assertEqual N/A N/A cut num_tuples C 12 N/A test_missing_relation N/A N/A self N/A N/A N/A cut N/A N/A FromFileCatalog load_from_file N/A N/A {p}/set_cardinality_relation.py format p test_file_path N/A N/A N/A self assertRaises Exception N/A N/A N/A N/A cut num_tuples D N/A N/A N/A self assertRaises Exception N/A N/A N/A N/A cut get_scheme D N/A test_schema_to_file N/A N/A self N/A N/A N/A file N/A N/A {p}/test_write_catalog.py format p test_file_path N/A N/A N/A N/A os path isfile file N/A N/A N/A N/A os remove file N/A rel_to_add public:adhoc:test N/A N/A N/A FromFileCatalog scheme_write_to_file file rel_to_add {'columnNames': ['grpID'], 'columnTypes': ['LONG_TYPE']} N/A cut N/A N/A FromFileCatalog load_from_file N/A N/A {p}/test_write_catalog.py format p test_file_path N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add get_names N/A grpID N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add get_types N/A LONG_TYPE N/A test_schema_append_to_file N/A N/A self N/A N/A N/A file N/A N/A {p}/test_write_catalog.py format p test_file_path N/A N/A N/A N/A os path isfile file N/A N/A N/A N/A os remove file N/A rel_to_add1 public:adhoc:test1 N/A rel_to_add2 public:adhoc:test2 N/A N/A N/A FromFileCatalog scheme_write_to_file file rel_to_add1 {'columnNames': ['grpID1'], 'columnTypes': ['LONG_TYPE']} N/A N/A N/A FromFileCatalog scheme_write_to_file file rel_to_add2 {'columnNames': ['grpID2'], 'columnTypes': ['STRING_TYPE']} N/A cut N/A N/A FromFileCatalog load_from_file N/A N/A {p}/test_write_catalog.py format p test_file_path N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add1 get_names N/A grpID1 N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add1 get_types N/A LONG_TYPE N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add2 get_names N/A grpID2 N/A N/A N/A self assertEqual N/A N/A N/A N/A cut get_scheme rel_to_add2 get_types N/A STRING_TYPE N/A test_schema_to_file_no_append N/A N/A self N/A N/A N/A file N/A N/A {p}/test_write_catalog.py format p test_file_path N/A N/A N/A N/A os path isfile file N/A N/A N/A N/A os remove file N/A rel_to_add public:adhoc:test N/A N/A N/A FromFileCatalog scheme_write_to_file N/A N/A {p}/test_write_catalog.py format p test_file_path rel_to_add {'columnNames': ['grpID'], 'columnTypes': ['LONG_TYPE']} N/A N/A N/A self assertRaises IOError N/A N/A N/A N/A FromFileCatalog scheme_write_to_file N/A N/A {p}/test_write_catalog.py format p test_file_path rel_to_add {'columnNames': ['grpID'], 'columnTypes': ['LONG_TYPE']} append False N/A N/A