Skip to content
#

factory

Here are 467 public repositories matching this topic...

route-composer

Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern.

  • Updated Apr 12, 2022
  • Swift
pydantic-factories
islam-main
islam-main commented May 3, 2022

I have two models User, Review and their ModelFactorys.

from pydantic import BaseModel, Field

from pydantic_factories import ModelFactory


class User(BaseModel):
    login: str


class Review(BaseModel):
    body: str
    author: User = Field(alias="user")

    class Config:
        allow_population_by_field_name = True


class UserFactory(ModelFactory):
   
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the factory topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the factory topic, visit your repo's landing page and select "manage topics."

Learn more