File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -392,24 +392,8 @@ def create_etch_packet(
392392 )
393393
394394 payload = mutation .create_payload ()
395-
396- # FIXME: do something here to prevent or fix pydantic from converting
397- # files into "SerializationIterator" objects
398395 variables = payload .model_dump (by_alias = True , exclude_none = True )
399396
400- # print('Files', variables["files"])
401- # print('Each')
402- for file_obj in variables ["files" ]:
403- if (
404- file_obj ["file" ]
405- and file_obj ["file" ].__class__ .__name__ == 'SerializationIterator'
406- ):
407- # print("FML1", file_obj["file"])
408- # print("FML2", dir(file_obj["file"]))
409-
410- # TODO: how to get the value out of the iterator??????????
411- file_obj ["file" ] = file_obj ["file" ]
412-
413397 return self .mutate (mutation , variables = variables , upload_files = True , ** kwargs )
414398
415399 def generate_etch_signing_url (self , signer_eid : str , client_user_id : str , ** kwargs ):
You can’t perform that action at this time.
0 commit comments