File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class AtomicOperationRef(BaseModel):
4040 relationship : Optional [str ] = Field (default = None )
4141
4242 @root_validator
43- def validate_op_ref (cls , values : dict ):
43+ def validate_atomic_operation_ref (cls , values : dict ):
4444 """
4545 type is required on schema
4646 so id or lid has to be present
@@ -139,7 +139,7 @@ def validate_operation(cls, values: dict):
139139class AtomicOperationRequest (BaseModel ):
140140 operations : List [AtomicOperation ] = Field (
141141 alias = "atomic:operations" ,
142- min_length = 1 ,
142+ min_items = 1 ,
143143 )
144144
145145
@@ -161,5 +161,5 @@ class AtomicResultResponse(BaseModel):
161161
162162 results : List [AtomicResult ] = Field (
163163 alias = "atomic:results" ,
164- min_length = 1 ,
164+ min_items = 1 ,
165165 )
You can’t perform that action at this time.
0 commit comments