##### SUMMARY
group contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
b/ansible/inventory/group.py:54:20: ansible-deprecated-version: Deprecated version ('2.10') found in call to Display.deprecated or AnsibleModule.deprecate
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
b/ansible/inventory/group.py
```

##### ANSIBLE VERSION
```
2.10
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

return self.get_name()
    def __str__(self):
        return self.get_name()
    def __getstate__(self):
        return self.serialize()
    def __setstate__(self, data):
        return self.deserialize(data)
    def serialize(self):
        parent_groups = []
        for parent in self.parent_groups:
            parent_groups.append(parent.serialize())
        self._hosts = None
        result = dict(
            name=self.name,
            vars=self.vars.copy(),
            parent_groups=parent_groups,
            depth=self.depth,
            hosts=self.hosts,
        )
        return result
    def deserialize(self, data):