Skip to content

enabler: support parametrized factories #373

Open
@kdziedzic68

Description

@kdziedzic68

Feature description

  • subclass_from_factory method would need to accept optional arguments factory_args / factory_kwargs
  • we would need to think of how to handle those factories within project configuration for different types of objects

Motivation

Some users may want to create config patterns for instantiating complex objects (like eg. DocumentSearch) and those patterns may have very few variable fields.

In current setup for each realization of this config we would need to define separate config / factory

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions