Skip to content

Commit ebabc9c

Browse files
committed
Do not expose get_column_default
1 parent 06b0588 commit ebabc9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

polyfactory/factories/sqlalchemy_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def get_model_fields(cls) -> list[FieldMeta]:
416416
FieldMeta.from_type(
417417
annotation=cls.get_type_from_column(column),
418418
name=name,
419-
default=cls.get_column_default(column),
419+
default=cls._get_column_default(column),
420420
)
421421
for name, column in table.columns.items()
422422
if cls.should_column_be_set(column)

0 commit comments

Comments
 (0)