Remove FieldCompiler.mutable (#628)
This commit is contained in:
		| @@ -484,13 +484,6 @@ class FieldCompiler(MessageCompiler): | ||||
|     def optional(self) -> bool: | ||||
|         return self.proto_obj.proto3_optional | ||||
|  | ||||
|     @property | ||||
|     def mutable(self) -> bool: | ||||
|         """True if the field is a mutable type, otherwise False.""" | ||||
|         return self.annotation.startswith( | ||||
|             ("typing.List[", "typing.Dict[", "dict[", "list[", "Dict[", "List[") | ||||
|         ) | ||||
|  | ||||
|     @property | ||||
|     def field_type(self) -> str: | ||||
|         """String representation of proto field type.""" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user