Return the complete context as dict including the exported variables. For optimizations reasons this might not return an actual copy so be careful with using it.
(self)
| 249 | return {k: self.vars[k] for k in self.exported_vars} |
| 250 | |
| 251 | def get_all(self) -> t.Dict[str, t.Any]: |
| 252 | """Return the complete context as dict including the exported |
| 253 | variables. For optimizations reasons this might not return an |
| 254 | actual copy so be careful with using it. |
| 255 | """ |
| 256 | if not self.vars: |
| 257 | return self.parent |
| 258 | if not self.parent: |
| 259 | return self.vars |
| 260 | return dict(self.parent, **self.vars) |
| 261 | |
| 262 | @internalcode |
| 263 | def call( |
no outgoing calls
no test coverage detected