Return opaque bytes with options that can affect dependent modules as well. The value can be compared for equality to detect changed options.
(self)
| 663 | return self.platform, result |
| 664 | |
| 665 | def dep_import_options(self) -> bytes: |
| 666 | """Return opaque bytes with options that can affect dependent modules as well. |
| 667 | |
| 668 | The value can be compared for equality to detect changed options. |
| 669 | """ |
| 670 | buf = WriteBuffer() |
| 671 | write_bool(buf, self.ignore_missing_imports) |
| 672 | write_str(buf, self.follow_imports) |
| 673 | write_bool(buf, self.follow_imports_for_stubs) |
| 674 | return buf.getvalue() |
no test coverage detected