def get_only(field):
    """
    `get_only` is a sugar for `property`.

    ``` py
    value = get_only('_value')

    # equals:

    @property
    def value(self):
        return getattr(self, '_value')
    ```
    """
    return property(lambda self: getattr(self, field))
