File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
python_anvil/api_resources Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,9 @@ class DocumentUpload(FileCompatibleBaseModel):
179179 # the client library side.
180180 # This might be a bug on the `pydantic` side(?) when this object gets
181181 # converted into a dict.
182+
183+ # NOTE: This field name is referenced in the models.py file, if you change it you
184+ # must change the reference
182185 file : Any = None
183186 fields : List [SignatureField ]
184187 font_size : int = 14
@@ -207,6 +210,9 @@ class CreateEtchPacketPayload(FileCompatibleBaseModel):
207210
208211 name : str
209212 signers : List [EtchSigner ]
213+ # NOTE: This is a list of `AttachableEtchFile` objects, but we need to
214+ # override the default `FileCompatibleBaseModel` to handle multipart/form-data
215+ # uploads correctly. This field name is referenced in the models.py file.
210216 files : List ["AttachableEtchFile" ]
211217 signature_email_subject : Optional [str ] = None
212218 signature_email_body : Optional [str ] = None
You can’t perform that action at this time.
0 commit comments