def get_dividends(self, **defaults):
        """
        Creates request builder for Dividends

        Returns the amount of dividends paid out for the last 10+ years.

        :returns: request builder instance
        :rtype: DividendsRequestBuilder
        """
        ctx = Context.from_context(self.ctx)
        ctx.defaults.update(defaults)
        return DividendsEndpoint(ctx, **ctx.defaults)

        Creates request builder for Dividends

        Returns the amount of dividends paid out for the last 10+ years.

        :returns: request builder instance
        :rtype: DividendsRequestBuilder
        
src/twelvedata/client.py