MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / _full_structure

Method _full_structure

test/orm/test_selectin_relations.py:2878–2908  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2876 return go
2877
2878 def _full_structure(self):
2879 Node = self.classes.Node
2880 return [
2881 Node(
2882 data="n1",
2883 children=[
2884 Node(data="n11"),
2885 Node(
2886 data="n12",
2887 children=[
2888 Node(data="n121"),
2889 Node(data="n122"),
2890 Node(data="n123"),
2891 ],
2892 ),
2893 Node(data="n13"),
2894 ],
2895 ),
2896 Node(
2897 data="n2",
2898 children=[
2899 Node(
2900 data="n21",
2901 children=[
2902 Node(data="n211"),
2903 Node(data="n212"),
2904 ],
2905 )
2906 ],
2907 ),
2908 ]
2909
2910 def test_basic(self, data_fixture):
2911 nodes = self.tables.nodes

Callers 1

goMethod · 0.95

Calls 1

NodeClass · 0.70

Tested by

no test coverage detected