mimesis/schema.py
def iterator(self, iterations: int = 1) -> Iterator[JSON]:
        """Fulfills schema in a lazy way.

        :param iterations: Number of iterations.
        :return: List of fulfilled schemas.
        """

        if iterations < self._MIN_ITERATIONS_VALUE:
            raise ValueError("The number of iterations must be greater than 0.")

        for item in range(iterations):
            yield self._schema()
Fulfills schema in a lazy way.

        :param iterations: Number of iterations.
        :return: List of fulfilled schemas.
        
Fulfills schema in a lazy way.
Fulfills schema in a lazy way .
def iterator(self, iterations: int = 1) -> Iterator[JSON]:
        if iterations < self._MIN_ITERATIONS_VALUE:
            raise ValueError("The number of iterations must be greater than 0.")
        for item in range(iterations):
            yield self._schema()
def iterator ( self , iterations : int = 1 ) -> Iterator [ JSON ] : if iterations < self . _MIN_ITERATIONS_VALUE : raise ValueError ( "The number of iterations must be greater than 0." ) for item in range ( iterations ) : yield self . _schema ( )
Fulfills schema in a lazy way.
Fulfills schema in a lazy way .
"""Fulfills schema in a lazy way.

        :param iterations: Number of iterations.
        :return: List of fulfilled schemas.
        """
List of fulfilled schemas.
List of fulfilled schemas .
self
iterations
int
Number of iterations.
Number of iterations .