Return effective evolving flag for a message.
(self, message)
| 305 | return type_id is not None |
| 306 | |
| 307 | def get_effective_evolving(self, message) -> bool: |
| 308 | """Return effective evolving flag for a message.""" |
| 309 | if message is None: |
| 310 | return True |
| 311 | if "evolving" in message.options: |
| 312 | return bool(message.options.get("evolving")) |
| 313 | file_default = self.schema.get_option("evolving") |
| 314 | if file_default is None: |
| 315 | return True |
| 316 | return bool(file_default) |
| 317 | |
| 318 | def format_idl_type(self, field_type: FieldType) -> str: |
| 319 | """Return an IDL-style type name for display purposes.""" |
no test coverage detected