Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

408 B
Raw Blame
"""Templates that open mid-line, whose closing delimiter starts a line."""

_TOOL_IO = '''
TOOL_IO: dict[ToolEndpoint, ToolIOSpec] = {{
{declarations}
}}
'''

_HEADER = """
# Header emitted into the output file.
# Types
"""


def resolve(schema):
    if "$ref" in schema:
        return lookup(schema["$ref"])
    return schema


def canary():
    # Build document
    document = build()
    return document