WIP: Expand the developer documentation #27

Draft
gremond wants to merge 249 commits from develop into developer_docs
Showing only changes of commit 2cec846207 - Show all commits

View file

@ -936,13 +936,17 @@ class ParserVariable:
def change_namespaces(self, variable):
for key, value in variable.items():
if isinstance(value, Calculation):
value.namespace = self.namespace
if isinstance(value, Calculation) and value.namespace != self.namespace:
copy = value.copy()
variable[key] = copy
copy.namespace = self.namespace
if not isinstance(value, list):
continue
for idx, val in enumerate(value):
if isinstance(val, Calculation):
val.namespace = self.namespace
if isinstance(val, Calculation) and val.namespace != self.namespace:
copy = val.copy()
value[idx] = copy
copy.namespace = self.namespace
def del_family(
self,