Skip to content

Commit e7c2860

Browse files
committed
logic conflicts
1 parent 3c50dc4 commit e7c2860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/validators/test_model_init.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def f(input_value, _info):
9191
{
9292
'type': 'function',
9393
'mode': 'before',
94-
'function': f,
94+
'function': {'type': 'general', 'function': f},
9595
'schema': {
9696
'type': 'model',
9797
'cls': MyModel,
@@ -126,7 +126,7 @@ def f(input_value, _info):
126126
{
127127
'type': 'function',
128128
'mode': 'after',
129-
'function': f,
129+
'function': {'type': 'general', 'function': f},
130130
'schema': {
131131
'type': 'model',
132132
'cls': MyModel,
@@ -163,7 +163,7 @@ def f(input_value, handler, _info):
163163
{
164164
'type': 'function',
165165
'mode': 'wrap',
166-
'function': f,
166+
'function': {'type': 'general', 'function': f},
167167
'schema': {
168168
'type': 'model',
169169
'cls': MyModel,

0 commit comments

Comments
 (0)