<filename>jina/types/request/data.py
from . import Request
from .mixin import DocsPropertyMixin, GroundtruthPropertyMixin


class DataRequest(Request, DocsPropertyMixin, GroundtruthPropertyMixin):
    """Data request class."""

    @property
    def endpoint(self) -> str:
        """Get the endpoint.

        # noqa: DAR201"""
        return self.body.endpoint

    @endpoint.setter
    def endpoint(self, val: str):
        """Set the endpoint.

        # noqa: DAR201
        # noqa: DAR101
        """
        self.body.endpoint = val

<filename>jina/types/request/data.py
from . import Request
from .mixin import DocsPropertyMixin, GroundtruthPropertyMixin


class DataRequest(Request, DocsPropertyMixin, GroundtruthPropertyMixin):
    """Data request class."""

    @property
    def endpoint(self) -> str:
        """Get the endpoint.

        # noqa: DAR201"""
        return self.body.endpoint

    @endpoint.setter
    def endpoint(self, val: str):
        """Set the endpoint.

        # noqa: DAR201
        # noqa: DAR101
        """
        self.body.endpoint = val

Data request class. Get the endpoint.          # noqa: DAR201 Set the endpoint.          # noqa: DAR201         # noqa: DAR101