Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 89b4f2c

Browse files
committed
Fix incorrect access to _DynamicAttributeKepper arguments in Sculpture
1 parent 8504a47 commit 89b4f2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sculpting/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ def __init__(
235235
self,
236236
original: OriginalT,
237237
*,
238-
default_attribute_resource_factory: Optional[_attribute_resource_for[OriginalT]] = None,
238+
_default_attribute_resource_factory: Optional[Callable[[str], _attribute_resource_for[AttributeOwnerT]]] = None,
239239
**attribute_resource_by_attribute_name: _attribute_resource_for[OriginalT],
240240
):
241241
super().__init__(
242-
default_attribute_resource_factory=default_attribute_resource_factory,
242+
_default_attribute_resource_factory=_default_attribute_resource_factory,
243243
**attribute_resource_by_attribute_name
244244
)
245245

0 commit comments

Comments
 (0)