2021-12-15 14:23:16 +00:00
<!DOCTYPE html>
< html class = "writer-html5" lang = "en" >
< head >
< meta charset = "utf-8" / > < meta name = "generator" content = "Docutils 0.17.1: http://docutils.sourceforge.net/" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< title > asyncio — kittycad v0.0.3 documentation< / title >
< link rel = "stylesheet" href = "../_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/graphviz.css" type = "text/css" / >
<!-- [if lt IE 9]>
< script src = "../_static/js/html5shiv.min.js" > < / script >
<![endif]-->
< script data-url_root = "../" id = "documentation_options" src = "../_static/documentation_options.js" > < / script >
< script src = "../_static/jquery.js" > < / script >
< script src = "../_static/underscore.js" > < / script >
< script src = "../_static/doctools.js" > < / script >
< script src = "../_static/js/theme.js" > < / script >
< link rel = "index" title = "Index" href = "../genindex.html" / >
2021-12-15 14:27:54 +00:00
< link rel = "search" title = "Search" href = "../search.html" / >
< link rel = "next" title = "sync" href = "kittycad.api.file.file_convert_with_base64_helper.sync.html" / >
< link rel = "prev" title = "kittycad.api.file.file_convert_with_base64_helper Module" href = "../kittycad.api.file.file_convert_with_base64_helper.html" / >
2021-12-15 14:23:16 +00:00
< / head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "../index.html" class = "icon icon-home" > kittycad
< / a >
< div class = "version" >
v0.0.3
< / div >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div > < div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Navigation menu" >
< p class = "caption" role = "heading" > < span class = "caption-text" > Contents:< / span > < / p >
2021-12-15 14:27:54 +00:00
< ul class = "current" >
< li class = "toctree-l1 current" > < a class = "reference internal" href = "../kittycad.api.html" > kittycad.api Package< / a > < ul class = "current" >
< li class = "toctree-l2 current" > < a class = "reference internal" href = "../kittycad.api.file.html" > kittycad.api.file Package< / a > < ul class = "current" >
< li class = "toctree-l3" > < a class = "reference internal" href = "../kittycad.api.file.file_conversion_by_id.html" > kittycad.api.file.file_conversion_by_id Module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../kittycad.api.file.file_convert.html" > kittycad.api.file.file_convert Module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "../kittycad.api.file.file_conversion_by_id_with_base64_helper.html" > kittycad.api.file.file_conversion_by_id_with_base64_helper Module< / a > < / li >
< li class = "toctree-l3 current" > < a class = "reference internal" href = "../kittycad.api.file.file_convert_with_base64_helper.html" > kittycad.api.file.file_convert_with_base64_helper Module< / a > < ul class = "current" >
< li class = "toctree-l4 current" > < a class = "reference internal" href = "../kittycad.api.file.file_convert_with_base64_helper.html#functions" > Functions< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "../kittycad.api.meta.html" > kittycad.api.meta Package< / a > < / li >
< / ul >
< / li >
2021-12-15 14:23:16 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "../kittycad.client.html" > kittycad.client Module< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../kittycad.models.html" > kittycad.models Package< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../kittycad.types.html" > kittycad.types Module< / a > < / li >
< / ul >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "kittycad.AuthenticatedClient.html" > AuthenticatedClient< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "kittycad.Client.html" > Client< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" > < nav class = "wy-nav-top" aria-label = "Mobile navigation menu" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../index.html" > kittycad< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
< div role = "navigation" aria-label = "Page navigation" >
< ul class = "wy-breadcrumbs" >
< li > < a href = "../index.html" class = "icon icon-home" > < / a > » < / li >
2021-12-15 14:27:54 +00:00
< li > < a href = "../kittycad.api.html" > kittycad.api Package< / a > » < / li >
< li > < a href = "../kittycad.api.file.html" > kittycad.api.file Package< / a > » < / li >
< li > < a href = "../kittycad.api.file.file_convert_with_base64_helper.html" > kittycad.api.file.file_convert_with_base64_helper Module< / a > » < / li >
2021-12-15 14:23:16 +00:00
< li > asyncio< / li >
< li class = "wy-breadcrumbs-aside" >
< a href = "../_sources/api/kittycad.api.file.file_convert_with_base64_helper.asyncio.rst.txt" rel = "nofollow" > View page source< / a >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< section id = "asyncio" >
< h1 > asyncio< a class = "headerlink" href = "#asyncio" title = "Permalink to this headline" > < / a > < / h1 >
< dl class = "py function" >
< dt class = "sig sig-object py" id = "kittycad.api.file.file_convert_with_base64_helper.asyncio" >
< em class = "property" > < span class = "k" > < span class = "pre" > async< / span > < / span > < span class = "w" > < / span > < / em > < span class = "sig-prename descclassname" > < span class = "pre" > kittycad.api.file.file_convert_with_base64_helper.< / span > < / span > < span class = "sig-name descname" > < span class = "pre" > asyncio< / span > < / span > < span class = "sig-paren" > (< / span > < em class = "sig-param" > < span class = "n" > < span class = "pre" > source_format< / span > < / span > < / em > , < em class = "sig-param" > < span class = "n" > < span class = "pre" > output_format< / span > < / span > < / em > , < em class = "sig-param" > < span class = "n" > < span class = "pre" > content< / span > < / span > < / em > , < em class = "sig-param" > < span class = "o" > < span class = "pre" > *< / span > < / span > < / em > , < em class = "sig-param" > < span class = "n" > < span class = "pre" > client< / span > < / span > < / em > < span class = "sig-paren" > )< / span > < a class = "reference external" href = "https://github.com/kittycad/kittycad.py/kittycad/api/file/file_convert_with_base64_helper.py" > < span class = "viewcode-link" > < span class = "pre" > [source]< / span > < / span > < / a > < a class = "headerlink" href = "#kittycad.api.file.file_convert_with_base64_helper.asyncio" title = "Permalink to this definition" > < / a > < / dt >
< dd > < p > Convert a CAD file from one format to another. If the file being converted is larger than a certain size it will be performed asynchronously. This function automatically base64 encodes the request body and base64 decodes the request output.< / p >
< dl class = "field-list simple" >
< dt class = "field-odd" > Return type< / dt >
< dd class = "field-odd" > < p > < a class = "reference external" href = "https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title = "(in Python v3.7)" > < code class = "xref py py-data docutils literal notranslate" > < span class = "pre" > Union< / span > < / code > < / a > [< a class = "reference external" href = "https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title = "(in Python v3.7)" > < code class = "xref py py-data docutils literal notranslate" > < span class = "pre" > Any< / span > < / code > < / a > , < a class = "reference internal" href = "kittycad.models.file_conversion.FileConversion.html#kittycad.models.file_conversion.FileConversion" title = "kittycad.models.file_conversion.FileConversion" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > FileConversion< / span > < / code > < / a > , < a class = "reference external" href = "https://python.readthedocs.io/en/latest/library/constants.html#None" title = "(in Python v3.7)" > < code class = "xref py py-obj docutils literal notranslate" > < span class = "pre" > None< / span > < / code > < / a > ]< / p >
< / dd >
< / dl >
< / dd > < / dl >
< / section >
< / div >
< / div >
2021-12-15 14:27:54 +00:00
< footer > < div class = "rst-footer-buttons" role = "navigation" aria-label = "Footer" >
< a href = "../kittycad.api.file.file_convert_with_base64_helper.html" class = "btn btn-neutral float-left" title = "kittycad.api.file.file_convert_with_base64_helper Module" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" aria-hidden = "true" > < / span > Previous< / a >
< a href = "kittycad.api.file.file_convert_with_base64_helper.sync.html" class = "btn btn-neutral float-right" title = "sync" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" aria-hidden = "true" > < / span > < / a >
< / div >
2021-12-15 14:23:16 +00:00
< hr / >
< div role = "contentinfo" >
< p > © Copyright KittyCAD Team Members.< / p >
< / div >
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > using a
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme< / a >
provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
< / footer >
< / div >
< / div >
< / section >
< / div >
< script >
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
< / script >
< / body >
< / html >