(self, fn)
| 800 | ) |
| 801 | |
| 802 | def _init_globals(self, fn): |
| 803 | build_py_wrappers = self.build_py_wrappers |
| 804 | bindparam_trackers = self.bindparam_trackers |
| 805 | track_bound_values = self.track_bound_values |
| 806 | |
| 807 | for name in fn.__code__.co_names: |
| 808 | if name not in fn.__globals__: |
| 809 | continue |
| 810 | |
| 811 | _bound_value = self._roll_down_to_literal(fn.__globals__[name]) |
| 812 | |
| 813 | if coercions._deep_is_literal(_bound_value): |
| 814 | build_py_wrappers.append((name, None)) |
| 815 | if track_bound_values: |
| 816 | bindparam_trackers.append( |
| 817 | self._bound_parameter_getter_func_globals(name) |
| 818 | ) |
| 819 | |
| 820 | def _init_closure(self, fn): |
| 821 | build_py_wrappers = self.build_py_wrappers |
no test coverage detected