mimesis/schema.py
def create(self, iterations: int = 1) -> List[JSON]:
        """Creates a list of a fulfilled schemas.

        .. note::
            This method evaluates immediately, so be careful on creating
            large datasets otherwise you're risking running out of memory.

            If you need a lazy version of this method, see
            :meth:`iterator`

        :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.")

        return [self._schema() for _ in range(iterations)]
Creates a list of a fulfilled schemas.

        .. note::
            This method evaluates immediately, so be careful on creating
            large datasets otherwise you're risking running out of memory.

            If you need a lazy version of this method, see
            :meth:`iterator`

        :param iterations: Number of iterations.
        :return: List of fulfilled schemas.
        
Creates a list of a fulfilled schemas.
note::
This method evaluates immediately, so be careful on creating
large datasets otherwise you're risking running out of memory.

If you need a lazy version of this method, see
:meth:`iterator`
Creates a list of a fulfilled schemas . note :: This method evaluates immediately so be careful on creating large datasets otherwise you ' re risking running out of memory . If you need a lazy version of this method see : meth : ` iterator `
def create(self, iterations: int = 1) -> List[JSON]:
        if iterations < self._MIN_ITERATIONS_VALUE:
            raise ValueError("The number of iterations must be greater than 0.")
        return [self._schema() for _ in range(iterations)]
def create ( self , iterations : int = 1 ) -> List [ JSON ] : if iterations < self . _MIN_ITERATIONS_VALUE : raise ValueError ( "The number of iterations must be greater than 0." ) return [ self . _schema ( ) for _ in range ( iterations ) ]
Creates a list of a fulfilled schemas.
Creates a list of a fulfilled schemas .
"""Creates a list of a fulfilled schemas.

        .. note::
            This method evaluates immediately, so be careful on creating
            large datasets otherwise you're risking running out of memory.

            If you need a lazy version of this method, see
            :meth:`iterator`

        :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 .