fumitoh / modelx

Use Python like a spreadsheet!

Home Page:https://modelx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refs not inherited in child space

alexeybaran opened this issue · comments

import modelx as mx
m, s_p = mx.new_model(), mx.new_space()
s_p.a = 1
s_c = s_p.new_space()
print(s_c.a)

This is how it is. Refs are not inherited by its child spaces. They are inherited by its sub spaces.

Refs defined in models are available in any space

Ok - not a big deal