File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -87,17 +87,33 @@ module.exports = {
8787 member: ' orders_view.id' ,
8888 operator: ' equals' ,
8989 values: [securityContext .order_id ]
90- });
90+ })
9191 }
92- return query;
93- },
94- };
92+ return query
93+ }
94+ }
9595```
9696
9797</CodeTabs >
9898
9999Both ways are equivalent; when in doubt, use Python.
100100
101+ Here is a minimal correct ` cube.py ` file. Note that the ` config ` object must be imported:
102+
103+ ``` python
104+ from cube import config
105+
106+ # Configuration goes here...
107+ ```
108+
109+ Here is a minimal correct ` cube.js ` file. Note that the ` module.exports ` object must be defined:
110+
111+ ``` javascript
112+ module .exports = {
113+ // Configuration goes here...
114+ }
115+ ```
116+
101117You can read more about [ Python] [ ref-python ] and [ JavaScript] [ ref-javascript ] support
102118in the dynamic data modeling section of the documentation.
103119
You can’t perform that action at this time.
0 commit comments