Describe
When generating classes with a custom template, I need to add some extra initialisation matter after the imports and before the list of classes, e.g.
from pydantic import Field
import pydantic
from typing import Any, Dict, List, Literal, Optional, Union
import dataclasses
[ ... ]
# some additional initialisations here
dataclasses._init_fn = dataclasses_init_fn_with_kwargs
class WeakRefBaseModel(pydantic.BaseModel):
__slots__ = '__weakref__'
# class list starts here
Do you have any objections to the module being extended in this manner?
Describe
When generating classes with a custom template, I need to add some extra initialisation matter after the imports and before the list of classes, e.g.
Do you have any objections to the module being extended in this manner?