MCPcopy
hub / github.com/pathwaycom/pathway / build

Function build

python/pathway/tests/test_api.py:88–117  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

86
87def test_assert(event_loop):
88 def build(s):
89 tab1 = static_table_from_md(
90 s,
91 """
92 | a
93 0 | 0
94 1 | 10
95 2 | 20
96 """,
97 )
98 tab1prime = static_table_from_md(
99 s,
100 """
101 | a
102 0 | 0
103 1 | 10
104 2 | 20
105 """,
106 )
107 tab2 = static_table_from_md(
108 s,
109 """
110 | a
111 0 | 0
112 1 | 1
113 2 | 2
114 """,
115 )
116
117 return convert_tables(s, tab1, tab1prime, tab2)
118
119 tab1, tab1prime, tab2 = api.run_with_new_graph(build, event_loop)
120

Callers 1

__init__Method · 0.85

Calls 9

static_table_from_mdFunction · 0.85
convert_tablesFunction · 0.85
table_to_legacyFunction · 0.85
update_rowsMethod · 0.80
wrapMethod · 0.80
tableMethod · 0.45
joinMethod · 0.45
concatMethod · 0.45
to_engineMethod · 0.45

Tested by

no test coverage detected