@ -119,7 +119,7 @@ def generatePath(
|
|||||||
success_type = endoint_refs[0]
|
success_type = endoint_refs[0]
|
||||||
|
|
||||||
if fn_name == 'file_conversion_status' or fn_name == 'post_file_conversion':
|
if fn_name == 'file_conversion_status' or fn_name == 'post_file_conversion':
|
||||||
fn_name = 'file_conversion_status_with_base64_helper'
|
fn_name += '_with_base64_helper'
|
||||||
|
|
||||||
# Iterate over the parameters.
|
# Iterate over the parameters.
|
||||||
params_str = ''
|
params_str = ''
|
||||||
|
@ -646,8 +646,8 @@
|
|||||||
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#FileService.PostConversion"
|
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#FileService.PostConversion"
|
||||||
},
|
},
|
||||||
"x-python": {
|
"x-python": {
|
||||||
"example": "from kittycad.models import FileConversion\nfrom kittycad.api.file import file_conversion_status_with_base64_helper\nfrom kittycad.types import Response\n\nfc: FileConversion = file_conversion_status_with_base64_helper.sync(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR if you need more info (e.g. status_code)\nresponse: Response[FileConversion] = file_conversion_status_with_base64_helper.sync_detailed(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR run async\nfc: FileConversion = await file_conversion_status_with_base64_helper.asyncio(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR run async with more info\nresponse: Response[FileConversion] = await file_conversion_status_with_base64_helper.asyncio_detailed(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)",
|
"example": "from kittycad.models import FileConversion\nfrom kittycad.api.file import post_file_conversion_with_base64_helper\nfrom kittycad.types import Response\n\nfc: FileConversion = post_file_conversion_with_base64_helper.sync(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR if you need more info (e.g. status_code)\nresponse: Response[FileConversion] = post_file_conversion_with_base64_helper.sync_detailed(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR run async\nfc: FileConversion = await post_file_conversion_with_base64_helper.asyncio(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)\n\n# OR run async with more info\nresponse: Response[FileConversion] = await post_file_conversion_with_base64_helper.asyncio_detailed(client=client, source_format=ValidSourceFileFormat, output_format=ValidOutputFileFormat, body=bytes)",
|
||||||
"libDocsLink": "https://python.api.docs.kittycad.io/modules/kittycad.api.file.file_conversion_status_with_base64_helper.html"
|
"libDocsLink": "https://python.api.docs.kittycad.io/modules/kittycad.api.file.post_file_conversion_with_base64_helper.html"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user